If manufacturer is in a list, don't show the price.

General ShopSite user discussion

If manufacturer is in a list, don't show the price.

Postby Capt.Goodvibes » Tue Jul 17, 2007 12:25 pm

Is there a way to prevent certain prices from showing up if the manufacturer is in a "don't show" list? In the music gear biz, we have to hide prices(and add to cart buttons) sometimes and insert the word "CALL" instead. I see the checkbox for price and sale price but I need to have it say "CALL". Thanks
Capt.Goodvibes
 
Posts: 18
Joined: Fri Nov 10, 2006 5:36 pm

Postby Jim » Tue Jul 17, 2007 12:52 pm

Create a custom product template that will check the value of one of the custom fields for text that indicates that you don't want to show the price and instead want to display CALL. The template would include something like

[-- IF product.field1 "CALL" --]
put out the Call message you want
[-- ELSE --]
put out your normal code for displaying out the add and view cart button
[-- END_IF --]

This could would be place in the template where the current add to cart button code is located.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby Capt.Goodvibes » Tue Jul 24, 2007 2:00 pm

I'm back from vacation... boooo ;)

Thanks Jim! I'll give it a try.
Capt.Goodvibes
 
Posts: 18
Joined: Fri Nov 10, 2006 5:36 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 61 guests