Free items - remove buy button?
Hi,
I would like to remove the 'buy' button from the product items page for free items (digital items). There is also a border shown where usually the price is shown where I would like to display the word 'Free'. So the price of $0.00 equals the word Free. Thank you! |
Re: Free items - remove buy button?
anyone knows how to remove the buy button for free items?
|
Re: Free items - remove buy button?
Let's assume you are using the ideal_comfort skin.
In /ideal_comfort/customer/buttons/buy_now.tpl Surround the button code with an if statement like this: Code:
{if $product.price ne 0} |
Re: Free items - remove buy button?
Quote:
Thank you!! Didn't work in the skin/common_folder/ folder but will try in the templates folder. How to get rid of the border (box) where the price appears when there's no price set? |
Re: Free items - remove buy button?
Not sure what you mean. Are you referring to the category page or product page, do you mean the input box where they enter their price?
Can you provide a link to this, show a picture or at least tell us what skin you are using? |
Re: Free items - remove buy button?
Quote:
Sent you a PM. We use the 3-column template. Will add a picture so if others want to remove this box. |
Re: Free items - remove buy button?
Okay, That is the price input box. Again assuming you are using ideal_comfort skin, look in: /ideal_comfort/customer/main/product_details.tpl
Around line 117 you will see this code: Code:
{else} Simply place comments around this input field like this: Code:
{else} |
Re: Free items - remove buy button?
Quote:
The box is gone :) Thanks so much! Couldn't remove the button yet. I'm using a customized 3-column skin (common_files) |
Re: Free items - remove buy button?
Good!
Try editing: /common_files/customer/buttons/buy_now.tpl |
Re: Free items - remove buy button?
I already edited this template.
There is another buy_now.tpl in the /common_files/customer/buy_now.tpl and one in here /common_files/customer/main/buy_now.tpl |
All times are GMT -8. The time now is 01:26 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.