X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Hide Price based on Mfgr (https://forum.x-cart.com/showthread.php?t=70910)

Dougrun 01-05-2015 12:59 PM

Re: Hide Price based on Mfgr
 
Now I need to make the list page work the same way. I tried products_list.tpl but nothing changed. What template shows the category lists?

Dougrun 01-05-2015 01:21 PM

Re: Hide Price based on Mfgr
 
ok, products_t.tpl is the file.
I see where the "Suggested Retail: $180.00, save 6%" text is but I cant find the price code above it. Any help?

Dougrun 01-05-2015 01:26 PM

Re: Hide Price based on Mfgr
 
found it..
<span class="price-value">{currency value=$product.taxed_price}</span>

Dougrun 06-08-2015 01:49 PM

Re: Hide Price based on Mfgr
 
bringing this back, is there any way to easily add more than one manufacturer to the condition?
{if $product.manufacturerid eq '2'}
i need manuf. # 2 and 47. How would i add 47??

Dougrun 06-08-2015 02:13 PM

Re: Hide Price based on Mfgr
 
I tried adding
or '47'
but that didnt work, it includes all mfg if I do that.

cflsystems 06-08-2015 02:22 PM

Re: Hide Price based on Mfgr
 
{if $product.manufacturerid eq '2' or $product.manufacturerid eq '47'}

Dougrun 12-31-2015 09:00 AM

Re: Hide Price based on Mfgr
 
ok, i'm trying to get this to work on xcarts xmobile module skin but every time I try it, the pages come up blank or give a server error. evidently those variables aren't loaded or something in that skin. Any thoughts on how to make it work?

nevermind, I got it working..


All times are GMT -8. The time now is 07:06 PM.

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