ojp3d082008-07-08 21:40 | Hello, I am trying to use this plugin only at main page where normally the content goes... to do this I created other page template called pages_main.tpl and I changed at admin page the view default to this page. But I didn't get the result that I wanted. How may I do this? Thanks, » Quick.Cart v3.xPedro Augusto |
Makaron2008-07-09 09:41 | Hello, You should make a different theme to main page. The whole instruction of plugin is correct but in this step:
step 3) edit file "templates/themes/default.php" and after code:
|
muljukina![]() 2008-08-27 23:48 | Hi ojp3d08, As well as I wish to you displey function RandomProduct on the main page in content, but unfortunately plagin it works for me only in a file container.tpl in the template created by me does not work, as does not work and if to put in pages_default.tpl. Whether it has turned out to cope at you with this problem? Recommendation Makaron does not help me: ( |
Makaron2008-08-28 10:35 | Ok I tested now this solution and it needs small modification.. Line:
$sRandomProduct = $oProduct->throwRandomProduct();
should be in file actions_client/p.php after line:
if( isset( $iContent ) && is_numeric( $iContent ) ){
and in file core/products.php in function which You created when You installed plugin RandomProduct You should modify the parameter of this function from:
function throwRandomProduct( $sFile = 'container.tpl' ){
function throwRandomProduct( $sFile = 'pages_default.tpl' ){
|
muljukina![]() 2008-08-28 13:30 | Makaron, Many thanks, very much to you it is grateful, now all works perfectly and smoothly. It is good that there are such professionals as you ready to help. Huge many thanks!! |
beholder2008-08-29 14:53 | Hi, Muljukina, this is also for everyone expressing their thanks to OpenSolution: |
muljukina![]() 2008-08-30 12:26 | Hi, beholder! What can offer and for what cost? send to me on mail ehidna@newmail.ru, I will consider variants:) |
beholder2008-08-30 18:57 | I am sorry, you probably misunderstood what I wrote. I told you to buy the Exended or Pro version of QuickCart, if you really want to thank the authors of this great shopping cart. You can find more info on the opensolution website: |
macieij![]() 2008-09-02 21:58 | Przypadkowy produkt ładnie się wyświetla, ale zauważyłem, że po dodaniu |
Makaron2008-09-03 09:05 | W takim razie przenieść linię
$sRandomProduct = $oProduct->throwRandomProduct();
$sSubpagesList = null;
|
macieij![]() 2008-09-04 15:18 | Dzięki Makaron. Potrafisz rozwiązać każdy problem! Pozdrowienia! |
muljukina![]() 2008-09-12 14:03 | beholder, |
muljukina![]() 2008-09-12 14:22 | Makaron, |
clawzeeb![]() 2008-10-30 15:34 | Is there a way to make this plugin showing 3 random products from the same category as the main product displayed in templates/product_default.tpl? Thank you. |