X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Adding a params to ezupsell module (https://forum.x-cart.com/showthread.php?t=33985)

bedstar 09-17-2007 03:09 AM

Adding a params to ezupsell module
 
Hi

I have slightly altered the ezupsell mod and want to be able to display a specific product based on the text placed in an extra field in the product admin. its pretty simple mod but i can get it to work can someone help me out please

here is an example

{if $products[product].param00 eq "135cm"}
hello
{/if}

currently nothing displays :(

do i need to bring any onther code through here

Regards

john

carpeperdiem 09-17-2007 03:57 AM

Re: Adding a params to ezupsell module
 
moving to 3rd party...

Jon 09-17-2007 08:47 AM

Re: Adding a params to ezupsell module
 
You have to add the variable to query it. ezUpsell uses the file /modules/Upselling_Products/related_products.php for it's upsell query.


All times are GMT -8. The time now is 03:32 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.