| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Free items - remove buy button? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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!
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
#2
|
|||||||
|
|||||||
![]() anyone knows how to remove the buy button for free items?
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() 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:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#4
|
|||||||
|
|||||||
![]() 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?
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() 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?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#6
|
|||||||
|
|||||||
![]() Quote:
Sent you a PM. We use the 3-column template. Will add a picture so if others want to remove this box.
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
#7
|
|||||||||
|
|||||||||
![]() 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:
Simply place comments around this input field like this: Code:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#8
|
|||||||
|
|||||||
![]() Quote:
The box is gone ![]() Couldn't remove the button yet. I'm using a customized 3-column skin (common_files)
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
#9
|
|||||||||
|
|||||||||
![]() Good!
Try editing: /common_files/customer/buttons/buy_now.tpl
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#10
|
|||||||
|
|||||||
![]() 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
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|