| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Upselling Products module modification | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#71
|
|||||||||
|
|||||||||
![]() updated for 4.0.10
related_products.php Code:
related_products.tpl Code:
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#72
|
|||||||
|
|||||||
![]() Shan
thanks so much for updating it for current versions. Works like a charm! If i dont want to display the description just the title, what do i need to change? Thanks
__________________
X-cart 4.09 slightly modified |
|||||||
#73
|
|||||||
|
|||||||
![]() Very nice mod, I got it to work in 4.0.11 but I have a strange error which shows up in the code and when I point the mouse on top of a product because smarty puts the error into the alt tag:
Code:
I have it running on a local test cart 4.0.11, fresh install, some mods. Any suggestions? Forgot to ask this: the quantity dropdown and the buy now button are not aligned nicely, they are spread all over the place, I guess depending on the width of the description of the item. Is the description short the dropdown and buy now button is pretty much in the center and if the description is long both moves to the right side, I try to fix it in the related_products.tpl but no success. Andy
__________________
X-Cart version 3.5.9 (online) X-Cart Version 4.0.19 (online) X-Cart Version 4.1.3 (in dev) PHP 4.4.4 MySQL 4.1.21 |
|||||||
#74
|
|||||||
|
|||||||
![]() I'm using the code supplied for 4.0.10
and it was telling me i was out of stock I looked into the code and at Code:
Code:
And it should work fine and dandy. Also, another fix to make the Buy Now buttons aligned on the right side edit the following code Code:
Code:
Also, I am curious as to why you get an error msg as an alt text when rolling over images. To view this http://www.premiumponyparts.com/product.php?productid=1967&cat=0&page=1
__________________
Version 4.0.8 |
|||||||
#75
|
|||||||
|
|||||||
![]() Great, it looks really nice now.
What I still have is the strange alt tag message, do you guys see the same? Andy PremiumPonyParts, thanks for fixing the table problem. I just looked at your site and I found the same alt tag problem. Look at your code line 1139: <a href="product.php?productid=1975" target="_blank">[img]/image.php?productid=1975[/img]Warning[/b]: htmlspecialchars() expects parameter 1 to be string, array given in /home/premiump/public_html/Smarty-2.6.3/plugins/modifier.escape.php on line 25 Array" border="0"></a> and your Buy Now button doesn't work, I get an JavaScript Error: line 1160 and 1219
__________________
X-Cart version 3.5.9 (online) X-Cart Version 4.0.19 (online) X-Cart Version 4.1.3 (in dev) PHP 4.4.4 MySQL 4.1.21 |
|||||||
#76
|
|||||||
|
|||||||
![]() Yeah, Im looking to see what is wrong. Hopefully Ill find it and post the problems in here. Still new to x-cart coding and smarty.
Unable to find out what was wrong.. Myb the writer of the mod can figure it out
__________________
Version 4.0.8 |
|||||||
#77
|
|||||||
|
|||||||
![]() Does anyone know how to get the entire related_products.tpl to show on the cart page and include all upsells that are related to items that are in the cart? I tried to add this to cart.tpl:
Code:
I'm sure for reasons that are obvious to those who know what they're doing, this did not work. Any thoughts would be hugely appreciated.
__________________
X-Cart version 4.7.12 |
|||||||
#78
|
|||||||
|
|||||||
![]() Instead of tearing your hair out, just spend some money on one of Jon's mods which do exactly what you are looking for. They are available here:
http://www.websitecm.com/
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#79
|
|||||||
|
|||||||
![]() Believe me, that is a very small price to pay and I have no problem spending the money... but I have a very customized version of x-cart and I am not interested in the "excheckout" process...although I do think he did a great job with it.
__________________
X-Cart version 4.7.12 |
|||||||
#80
|
|||||||
|
|||||||
![]() I'm not talking about the EZ checkout...I'm talking about EZ upsell. Doesn't matter how custom your cart is. If you didn't get a response from them, try purchasing it from Carrie at:
http://www.bcsengineering.com/store/catalog/XCart_ezUpsell-p-96.html She'll even install it for you for $50.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|