Page 1 of 1

Category link to external site possible

Posted: 18 Jan 2023, 18:04
by Alexander
Hi Jan

I know, this might be an exotic question. A company donates us 10% of their revenues when selling certain products. To promote this company, I would like to add a category for these products. Only, the category button should not link to the local Phoca products but to the external shop. Is there a way I can do that in Phoca? Or any other way to place such an "Ad" on the category page with Phoca Cart? Alternative would be to add my own little module but the alignment and integration in Categories view would not look nice.

Thank you für any ideas

Alexander

Re: Category link to external site possible

Posted: 22 Jan 2023, 02:31
by Jan
Hi, see options for parameter: Add to Cart (Category, Items View)

Image

But the problem is, this then works for all products, not only for selected so if you have only some products to link to external site, this needs to be customized directly in the code - to make override and add some conditions

All buttons can be overrided by template output, they are located here:

components/com_phocacart/layouts/

Jan

Re: Category link to external site possible

Posted: 23 Jan 2023, 16:23
by Alexander
Hi Jan

Thank you very much. That's all the info I need, I hope ;)

Alexander

Re: Category link to external site possible

Posted: 25 Jan 2023, 18:32
by Jan
Ok