I wanted to create some affiliate offers which will just be a link through. The idea is a good one if I can control what is shown on a per product basis. Or that some items with a tag or in a category show differently- that could also work.
See here - https://bestantigua.com/shop/essentials ... -insurance
I only want the link to the affiliate page.
Thank you.
Hide add to cart button
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide add to cart button
Hi, there are a lot of different features how to hide "add to cart" buttons.
e.g. you can hide it per options directly, you can set that the product will be e.g. "price on demand" product. Such products do not have "add to cart" buttons, etc. etc.
Jan
e.g. you can hide it per options directly, you can set that the product will be e.g. "price on demand" product. Such products do not have "add to cart" buttons, etc. etc.
Jan
If you find Phoca extensions useful, please support the project
- landed
- Phoca Professional
- Posts: 121
- Joined: 15 Sep 2023, 10:51
Re: Hide add to cart button
That works, can I also hide the price in this case again per product. Also can I make the image linkable?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide add to cart button
See following parameters for the price (even here there are more options):
There is no option to set specific link for the image, so this needs to be customized directly in the code
Jan
There is no option to set specific link for the image, so this needs to be customized directly in the code
Jan
If you find Phoca extensions useful, please support the project
- landed
- Phoca Professional
- Posts: 121
- Joined: 15 Sep 2023, 10:51
Re: Hide add to cart button
Is this per product?
I will take a look thank you. I also realize that I am stripping away functionality that J itself does so a regular article you might say. But having the ability to have a 'shop' area means I might like products that you add to cart and others which may be just affiliate links.
It's a great product you have Jan. Start getting some help to port to other platforms as Joomla roadmap is of concern.
I will take a look thank you. I also realize that I am stripping away functionality that J itself does so a regular article you might say. But having the ability to have a 'shop' area means I might like products that you add to cart and others which may be just affiliate links.
It's a great product you have Jan. Start getting some help to port to other platforms as Joomla roadmap is of concern.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide add to cart button
Hi, there are general options, valid for each product, in this case, valid for each product which price is zero.
Jan
Jan
If you find Phoca extensions useful, please support the project
- landed
- Phoca Professional
- Posts: 121
- Joined: 15 Sep 2023, 10:51
Re: Hide add to cart button
I have hidden the price thank you. Is it possible to hide the ask a question for just this product? Also reviews and description are not useful.
I suppose an actual template file just for this product might be better way to strip the output. Can a product select a specific template file?
I suppose an actual template file just for this product might be better way to strip the output. Can a product select a specific template file?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide add to cart button
Hi, there is no template file for product as Joomla uses template overrides, so the possible override for product view can be done with this file:
components/com_phocacart/views/item/tmpl/default.php
or if only some part of such file should be edited, then the layouts:
components/com_phocacart/layouts/ ...
There is no option to hide "ask a question" only for selected products
Jan
components/com_phocacart/views/item/tmpl/default.php
or if only some part of such file should be edited, then the layouts:
components/com_phocacart/layouts/ ...
There is no option to hide "ask a question" only for selected products
Jan
If you find Phoca extensions useful, please support the project