Price by 'add to cart' button

Phoca Cart - complex e-commerce extension
Wayne-Zona
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 29 Mar 2023, 19:33

Price by 'add to cart' button

Post by Wayne-Zona »

Hi, I am just trying to set up the look of Phoca Cart and I need a lot of information and cost variations on my product page. This means that the price (which sits at the top) is a long way away from the add to cart button. Is there an option to have this that I have missed? image for clarity - https://imgur.com/a/Ldyy10o

I don't have a good understanding of PHP, I have managed some edits so far, but could not see if this was possible.

Many thanks,
Wayne
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Price by 'add to cart' button

Post by Jan »

Hi, the only way is to override the output and move the price box from the top to the bottom.

This all happens in item view:
components/com_phocacart/views/item/tmpl/default.php

Jan
If you find Phoca extensions useful, please support the project
Wayne-Zona
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 29 Mar 2023, 19:33

Re: Price by 'add to cart' button

Post by Wayne-Zona »

Thanks Jan, I have been working with that file but I couldn't find which part of the code to move, could you let me know what it is?

Thanks again!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Price by 'add to cart' button

Post by Jan »

Hi, cca on line 205 there is code for price box, so this code part should be moved to placen you need.

Jan
If you find Phoca extensions useful, please support the project
Post Reply