![]() |
remove buy now button for one category
We have a category of items that are too large for shipping and too costly for conventional payment methods (sell lab supplies)
We want to show these products on the site - but say "Call to Order" for these items. I've looked for a way to turn off the Buy Now buttons in the admin - but the only thing I see is to not display the product at all. I found this on the forum http://forum.x-cart.com/showthread.php?t=62507 But it doesn't seem to work for 4.5 (which the last post says but I tried it anyway) thanks Donna-NJ |
Re: remove buy now button for one category
Look at the $product array. Use webmaster mode. You should be able to divine the categoryid that you need to use and access it from the $product array. Try surrounding the button with an if statement,
if $categoryid = 123 Don't show else show |
Re: remove buy now button for one category
This is video a that Mike created a few months ago
http://www.youtube.com/watch?v=-7ESOW0pKU4 Takes on a different approach by adding a custom variable to product - but can achieve the same result. |
All times are GMT -8. The time now is 08:16 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.