[Skip to main content](#vessel-content)

#   customise add to cart area

##

- **[Comdev](/forum/user/2314-comdev "View Comdev's Profile")**
- [![Comdev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2314-comdev "View Comdev's Profile") Topic Author
- [ Offline](/forum/user/2314-comdev)

Less More

- Posts: 8
- Thank you received: 0
-
-

14 years 10 months ago [\#31773](#31773) by [Comdev](/forum/user/2314-comdev "View Comdev's Profile")  *[customise add to cart area](/forum/4-how-to/31773-customise-add-to-cart-area#31773 "Hi  I have Hikashop Essential.  I need to move the area that displays the add to cart button on the product page (product/show) to have  row 1 = price row 2 = quantity row 3 = add to cart button  e.g. see attached  I can't find which view to edit to change this bit of code.  Can you please advise where this is edited?")* was created by *[Comdev](/forum/user/2314-comdev "View Comdev's Profile")*

Hi

I have Hikashop Essential.

I need to move the area that displays the add to cart button on the product page (product/show) to
have

row 1 = price
row 2 = quantity
row 3 = add to cart button

e.g. see attached

I can't find which view to edit to change this bit of code.

Can you please advise where this is edited? image missing http://www.hikashop.com/media/kunena/attachments/legacy/images/addtocart.png

- [ ![addtocart.png](/forum/attachment/2184) ](/forum/attachment/2184 "addtocart.png") [ ](/forum/attachment/2184?download=1 "addtocart.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMxNzczLWN1c3RvbWlzZS1hZGQtdG8tY2FydC1hcmVhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

14 years 10 months ago [\#31811](#31811) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: customise add to cart area](/forum/4-how-to/31773-customise-add-to-cart-area#31811 "Hi  I have Hikashop Essential.  I need to move the area that displays the add to cart button on the product page (product/show) to have  row 1 = price row 2 = quantity row 3 = add to cart button  e.g. see attached  I can't find which view to edit to change this bit of code.  Can you please advise where this is edited?")*

Hi,

The price is already displayed above the quantity box/add to cart button.
For the the quantity box/add to cart button part, you will have to create a quantity input override:
[ www.hikashop.com/en/support/documentatio...tation.html#override](http://www.hikashop.com/en/support/documentation/62-hikashop-developer-documentation.html#override)
That's because it's not displayed by a view but by the file administrator/components/com_hikashop/helper/cart.php
You could modify that file directly but you would loose your modifications when you would update HikaShop and you would have to reapply them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMxNzczLWN1c3RvbWlzZS1hZGQtdG8tY2FydC1hcmVhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Comdev](/forum/user/2314-comdev "View Comdev's Profile")**
- [![Comdev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2314-comdev "View Comdev's Profile") Topic Author
- [ Offline](/forum/user/2314-comdev)

Less More

- Posts: 8
- Thank you received: 0
-
-

14 years 10 months ago [\#31815](#31815) by [Comdev](/forum/user/2314-comdev "View Comdev's Profile")  Replied by *[Comdev](/forum/user/2314-comdev "View Comdev's Profile")* on topic *[Re: customise add to cart area](/forum/4-how-to/31773-customise-add-to-cart-area#31815 "Hi  I have Hikashop Essential.  I need to move the area that displays the add to cart button on the product page (product/show) to have  row 1 = price row 2 = quantity row 3 = add to cart button  e.g. see attached  I can't find which view to edit to change this bit of code.  Can you please advise where this is edited?")*

Many Thanks

I managed to customise the look by directly editing the file administrator/components/com_hikashop/helper/cart.php

However i could not get the override to work - I put the new one in a directory ~/templates/[mytemplate]/html/administrator/components/com_hikashop/helpers/

Any ideas what the directory should have been?

Thanks again

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMxNzczLWN1c3RvbWlzZS1hZGQtdG8tY2FydC1hcmVhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

14 years 10 months ago [\#31816](#31816) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: customise add to cart area](/forum/4-how-to/31773-customise-add-to-cart-area#31816 "Hi  I have Hikashop Essential.  I need to move the area that displays the add to cart button on the product page (product/show) to have  row 1 = price row 2 = quantity row 3 = add to cart button  e.g. see attached  I can't find which view to edit to change this bit of code.  Can you please advise where this is edited?")*

It's written in the documentation. It should be the file: templates/YOUR_TEMPLATE/html/hikashop_button.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMxNzczLWN1c3RvbWlzZS1hZGQtdG8tY2FydC1hcmVhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.151 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
