Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Hide Price based on Mfgr

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 01-05-2015, 12:59 PM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 909
 

Default 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?
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #12  
Old 01-05-2015, 01:21 PM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 909
 

Default 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?
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #13  
Old 01-05-2015, 01:26 PM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 909
 

Default Re: Hide Price based on Mfgr

found it..
<span class="price-value">{currency value=$product.taxed_price}</span>
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #14  
Old 06-08-2015, 01:49 PM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 909
 

Default 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??
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #15  
Old 06-08-2015, 02:13 PM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 909
 

Default Re: Hide Price based on Mfgr

I tried adding
or '47'
but that didnt work, it includes all mfg if I do that.
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #16  
Old 06-08-2015, 02:22 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Hide Price based on Mfgr

{if $product.manufacturerid eq '2' or $product.manufacturerid eq '47'}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
Dougrun (06-08-2015)
  #17  
Old 12-31-2015, 09:00 AM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 909
 

Default 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..
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:53 PM.

   

 
X-Cart forums © 2001-2020