Page 1 of 1

Price by 'add to cart' button

Posted: 29 Mar 2023, 19:48
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

Re: Price by 'add to cart' button

Posted: 30 Mar 2023, 15:26
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

Re: Price by 'add to cart' button

Posted: 30 Mar 2023, 17:09
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!

Re: Price by 'add to cart' button

Posted: 30 Mar 2023, 18:05
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