![]() |
Remove buy now for one product
1 Attachment(s)
Is there away to remove the buy now button and Price and Quantity for just one product in a catagory.
I need to remove it for the CCTV control Centre product in the screen attached Thanks in advance |
Re: Remove buy now for one product
Quote:
Yes, just in the beginning you need to decide how you will specify this product in admin area. |
Re: Remove buy now for one product
Can you explain how to do this please. :-)
|
Re: Remove buy now for one product
Firstly, you need to find the id of the product - the productid - you can find this by seeing what the link is in a browser.
Then open up skin1/customer/main/products.tpl find: {include file="customer/main/buy_now.tpl" product=$products[product]} And then you need to put an if statement around this code. {if $products[product].productid ne "xxx"} {include file="customer/main/buy_now.tpl" product=$products[product]} {/if} obviously swap xxx for the product id no. this will then only show the buy now button if the product is not that one. |
Re: Remove buy now for one product
1 Attachment(s)
Hi there I did what you said but it removed all the buttons. I just wanted to remove the buy now button the quantity and the price.
Also it left the price in as well. I went the product in the admin panel and took the price out but it still showed on the product?? See screen attached |
Re: Remove buy now for one product
Can anyone help please :-)
|
All times are GMT -8. The time now is 01:17 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.