Is there a easy way to remove the add to cart button in my listings. I only need to remove the button on about 20 listings . I did a search on the forum and read a post which said paste
<style type="text/css">
.buttons { display: none; }
</style>
Into the source of your product description to remove the button but it don't work ?
Any help would be great cheers .. !
<style type="text/css">
.buttons { display: none; }
</style>
Into the source of your product description to remove the button but it don't work ?
Any help would be great cheers .. !
if using 1.4.7 you can do this:
1. EDIT: catalog/view/theme/YOURTHEME/template/product/product.php
2. FIND:
3. BEFORE, ADD:
4. FIND:
5. BEFORE, ADD
1. EDIT: catalog/view/theme/YOURTHEME/template/product/product.php
2. FIND:
Code: Select all
<div class="content"><?php echo $text_qty; ?>
Code: Select all
<?php if ($product_info['quantity']) { ?>
4. FIND:
Code: Select all
</form>
Code: Select all
<?php } ?>
Alas there is quite a lot of modification to get the Login to View prices working as it should
Currently a user can add products to basket and get as far as checkout before having to register and without seeing a price.
Ideally, your request for button replacement, and a redirect to the login page would work better IMHO
Currently a user can add products to basket and get as far as checkout before having to register and without seeing a price.
Ideally, your request for button replacement, and a redirect to the login page would work better IMHO
I am looking for a similar solution. As such, my visitors don't buy things on my site. I just refer them to the site with best possible price. So I would love to be able to disable the buying option and change the image from 'add to cart' to 'View more details'.
Can anyone help?
Thanks,
Anupam
Can anyone help?
Thanks,
Anupam
Take a look at those two modules:
http://www.opencart.com/index.php?route ... on_id=4067
http://www.opencart.com/index.php?route ... on_id=4358
The first module disables the Add to Cart button of the products that have 0 price, and the second module disables the Add to Cart button of the products that have 0 quantity. Both modules can be tweaked according to your needs.
@cassiodorus: I noticed that you are using Shoppica theme, so if interested, just PM me, and we'll make it work.
http://www.opencart.com/index.php?route ... on_id=4067
http://www.opencart.com/index.php?route ... on_id=4358
The first module disables the Add to Cart button of the products that have 0 price, and the second module disables the Add to Cart button of the products that have 0 quantity. Both modules can be tweaked according to your needs.
@cassiodorus: I noticed that you are using Shoppica theme, so if interested, just PM me, and we'll make it work.
See all my extensions: https://www.opencart.com/index.php?rout ... 20OpenCart
Who is online
Users browsing this forum: No registered users and 96 guests