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
Price by 'add to cart' button
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Price by 'add to cart' button
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
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
-
- Phoca Newbie
- Posts: 6
- Joined: 29 Mar 2023, 19:33
Re: Price by 'add to cart' button
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!
Thanks again!
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Price by 'add to cart' button
Hi, cca on line 205 there is code for price box, so this code part should be moved to placen you need.
Jan
Jan
If you find Phoca extensions useful, please support the project