X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Hide price and add to cart button (https://forum.x-cart.com/showthread.php?t=69493)

mpwebber 07-03-2014 10:21 AM

Hide price and add to cart button
 
I have some products that are informational only and would like to be able to disable showing a price and adding them to the cart.

How would I edit a template so that any item with a certain price (0.00 for example) would not display the price and button?

tony_sologubov 07-03-2014 11:11 AM

Re: Hide price and add to cart button
 
Would not it work if you simply define this product as out of stock?

mpwebber 07-03-2014 12:11 PM

Re: Hide price and add to cart button
 
Out of stock does remove the add to cart button as desired, but it still shows a price.

I also do not care to see these informational items appeared greyed-out, but would rather them appear like any other item just without pricing.

tony_sologubov 07-07-2014 01:55 AM

Re: Hide price and add to cart button
 
OK, I see. This is typical task for developers, so I will cover this point in docs during next couple of weeks and then publish a link to the article here.


All times are GMT -8. The time now is 08:22 AM.

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