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

#   Relocate Add To Cart Button After Deactivating Legacy Mode

##

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

Less More

- Posts: 34
- Thank you received: 0
-
-

8 years 8 months ago -  8 years 8 months ago [\#288971](#288971) by [jimphillips](/forum/user/45362-jimphillips "View jimphillips's Profile")  *[Relocate Add To Cart Button After Deactivating Legacy Mode](/forum/26-product-category-display/893985-relocate-add-to-cart-button-after-deactivating-legacy-mode#288971 "-- url of the page with the problem -- :   henchmode.com/product/65-strength-t-shirt-white  -- HikaShop version -- : 3.3.0 -- Joomla version -- : 13.1.0 -- PHP version -- : 7.1.13  Deactivating legacy mode for the &quot;Add to cart&quot; button has caused the button to relocate to a different position on the product page.  Can you advise which view I need to access, which piece of code I need to relocate and where it needs to be placed in order to get the button to return to the position it was in whilst in legacy mode?")* was created by *[jimphillips](/forum/user/45362-jimphillips "View jimphillips's Profile")*

-- url of the page with the problem -- : [ henchmode.com/product/65-strength-t-shirt-white](http://henchmode.com/product/65-strength-t-shirt-white)
-- HikaShop version -- : 3.3.0
-- Joomla version -- : 13.1.0
-- PHP version -- : 7.1.13

Deactivating legacy mode for the "Add to cart" button has caused the button to relocate to a different position on the product page.

Can you advise which view I need to access, which piece of code I need to relocate and where it needs to be placed in order to get the button to return to the position it was in whilst in legacy mode?

- [ ![legacy1.png](/forum/attachment/42838) ](/forum/attachment/42838 "legacy1.png") [ ](/forum/attachment/42838?download=1 "legacy1.png")
- [ ![legacy2.png](/forum/attachment/42839) ](/forum/attachment/42839 "legacy2.png") [ ](/forum/attachment/42839?download=1 "legacy2.png")

Last edit: 8 years 8 months ago by [jimphillips](/forum/user/45362-jimphillips "View jimphillips's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

8 years 8 months ago [\#288995](#288995) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Relocate Add To Cart Button After Deactivating Legacy Mode](/forum/26-product-category-display/893985-relocate-add-to-cart-button-after-deactivating-legacy-mode#288995 "-- url of the page with the problem -- :   henchmode.com/product/65-strength-t-shirt-white  -- HikaShop version -- : 3.3.0 -- Joomla version -- : 13.1.0 -- PHP version -- : 7.1.13  Deactivating legacy mode for the &quot;Add to cart&quot; button has caused the button to relocate to a different position on the product page.  Can you advise which view I need to access, which piece of code I need to relocate and where it needs to be placed in order to get the button to return to the position it was in whilst in legacy mode?")*

Hello,

It would require to analyze the CSS of your website to understand why that button is below.
[ www.hikashop.com/support/documentation/1...the-display.html#css](https://www.hikashop.com/support/documentation/153-customize-the-display.html#css)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

8 years 8 months ago [\#289376](#289376) by [jimphillips](/forum/user/45362-jimphillips "View jimphillips's Profile")  Replied by *[jimphillips](/forum/user/45362-jimphillips "View jimphillips's Profile")* on topic *[Relocate Add To Cart Button After Deactivating Legacy Mode](/forum/26-product-category-display/893985-relocate-add-to-cart-button-after-deactivating-legacy-mode#289376 "-- url of the page with the problem -- :   henchmode.com/product/65-strength-t-shirt-white  -- HikaShop version -- : 3.3.0 -- Joomla version -- : 13.1.0 -- PHP version -- : 7.1.13  Deactivating legacy mode for the &quot;Add to cart&quot; button has caused the button to relocate to a different position on the product page.  Can you advise which view I need to access, which piece of code I need to relocate and where it needs to be placed in order to get the button to return to the position it was in whilst in legacy mode?")*

I don't think it is the CSS.

Whenever legacy add to cart is activated, the button is contained within the last cell of the table in "product / quantity.php"

Whenever I turn off legacy mode, the button relocates to outside of the table. Is this not something to do with the PHP in the "product / quantity.php"

Also, in the link that you posted, the information says that "In the edition page, you can find all the different parts between the HTML comments."

I am going to Display &gt; Views &gt; relevant file but I do not see HTML comments in any of the files which I look at?

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

8 years 8 months ago -  8 years 8 months ago [\#289411](#289411) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Relocate Add To Cart Button After Deactivating Legacy Mode](/forum/26-product-category-display/893985-relocate-add-to-cart-button-after-deactivating-legacy-mode#289411 "-- url of the page with the problem -- :   henchmode.com/product/65-strength-t-shirt-white  -- HikaShop version -- : 3.3.0 -- Joomla version -- : 13.1.0 -- PHP version -- : 7.1.13  Deactivating legacy mode for the &quot;Add to cart&quot; button has caused the button to relocate to a different position on the product page.  Can you advise which view I need to access, which piece of code I need to relocate and where it needs to be placed in order to get the button to return to the position it was in whilst in legacy mode?")*

Hello,

As Jerome said, the point may be **Css**, I can be sure of it because switch to  **legacy mode or not** don't leads the add to cart button to move.
But the add to cart **button class** change from "**button hikashop\_cart\_input\_button**" to "**hikabtn hikacart**", that's why before touch the **Html/Php** structure, the most simple is maybe to adapt the **Css**.

Regards

Last edit: 8 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

8 years 8 months ago [\#289449](#289449) by [jimphillips](/forum/user/45362-jimphillips "View jimphillips's Profile")  Replied by *[jimphillips](/forum/user/45362-jimphillips "View jimphillips's Profile")* on topic *[Relocate Add To Cart Button After Deactivating Legacy Mode](/forum/26-product-category-display/893985-relocate-add-to-cart-button-after-deactivating-legacy-mode#289449 "-- url of the page with the problem -- :   henchmode.com/product/65-strength-t-shirt-white  -- HikaShop version -- : 3.3.0 -- Joomla version -- : 13.1.0 -- PHP version -- : 7.1.13  Deactivating legacy mode for the &quot;Add to cart&quot; button has caused the button to relocate to a different position on the product page.  Can you advise which view I need to access, which piece of code I need to relocate and where it needs to be placed in order to get the button to return to the position it was in whilst in legacy mode?")*

Ok, thanks guys. I'll keep working on it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTM5ODUtcmVsb2NhdGUtYWRkLXRvLWNhcnQtYnV0dG9uLWFmdGVyLWRlYWN0aXZhdGluZy1sZWdhY3ktbW9kZT90bXBsPW1hcmtkb3du) 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.051 seconds

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