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

#   Characteristics not retained in checkout

##

- **[iamalive](/forum/user/4244-iamalive "View iamalive's Profile")**
- [![iamalive's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4244.jpg)](/forum/user/4244-iamalive "View iamalive's Profile") Topic Author
- [ Offline](/forum/user/4244-iamalive)

Less More

- Posts: 81
- Thank you received: 2
-
-

8 years 2 months ago [\#297454](#297454) by [iamalive](/forum/user/4244-iamalive "View iamalive's Profile")  *[Characteristics not retained in checkout](/forum/27-checkout/895637-characteristics-not-retained-in-checkout#297454 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.1.21  Hi again  A weird problem, which I have no idea what is causing it.  On this site (selling shoes) the customer can choose the shoe size in a dropdown. This works fine on the product page, but when added to the basket it always shows the same size.  Can you tell me where the problem might be?  Best regards David")* was created by *[iamalive](/forum/user/4244-iamalive "View iamalive's Profile")*

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.12
-- PHP version -- : 7.1.21

Hi again

A weird problem, which I have no idea what is causing it.

On this site (selling shoes) the customer can choose the shoe size in a dropdown. This works fine on the product page, but when added to the basket it always shows the same size.

Can you tell me where the problem might be?

Best regards
David

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTYzNy1jaGFyYWN0ZXJpc3RpY3Mtbm90LXJldGFpbmVkLWluLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 2 months ago [\#297456](#297456) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Characteristics not retained in checkout](/forum/27-checkout/895637-characteristics-not-retained-in-checkout#297456 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.1.21  Hi again  A weird problem, which I have no idea what is causing it.  On this site (selling shoes) the customer can choose the shoe size in a dropdown. This works fine on the product page, but when added to the basket it always shows the same size.  Can you tell me where the problem might be?  Best regards David")*

Hello,

That kind of problem is mostly due to an override of your product page.
If there is some HTML errors in the page (break the DOM) ; instead of submitting only the selected variant, it will submit all variants data.
In such case, we first recommend to (backup) remove the view overrides ; or you can change temporally your template to the default Joomla one (so a template without overrides).
If the idea was the good one then it will need to fix the HTML errors in the view override so the "&lt;form&gt;" in the product page won't be broken anymore.

Regards,

---

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

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

- **[iamalive](/forum/user/4244-iamalive "View iamalive's Profile")**
- [![iamalive's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4244.jpg)](/forum/user/4244-iamalive "View iamalive's Profile") Topic Author
- [ Offline](/forum/user/4244-iamalive)

Less More

- Posts: 81
- Thank you received: 2
-
-

8 years 2 months ago -  8 years 2 months ago [\#297476](#297476) by [iamalive](/forum/user/4244-iamalive "View iamalive's Profile")  Replied by *[iamalive](/forum/user/4244-iamalive "View iamalive's Profile")* on topic *[Characteristics not retained in checkout](/forum/27-checkout/895637-characteristics-not-retained-in-checkout#297476 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.1.21  Hi again  A weird problem, which I have no idea what is causing it.  On this site (selling shoes) the customer can choose the shoe size in a dropdown. This works fine on the product page, but when added to the basket it always shows the same size.  Can you tell me where the problem might be?  Best regards David")*

Hi Jerome

Thanks for the input. We have developed an app for the shop and have overridden a couple of the views to position the scripts. Specifically

Frontend&gt;Product&gt;show_block_characteristic and
Frontend&gt;Product&gt;show_block_tags

How can I add a new view in the product detail page so that we can add the scripts in such a way that it doesn't interfere with anything else?

If you look at the site [ Example Page](http://footfact.kuenzli-schuhe.ch/en/shop-en/orthoshop-en/ankle-joint/produkt/1311-ortho-standard/category_pathway-34) you'll see the "Footfact" stuff. Ideally we would like to position that stuff there, but we have some flexibility.

Thanks in advance for your help.
Best regards
David

Last edit: 8 years 2 months ago by [iamalive](/forum/user/4244-iamalive "View iamalive's Profile"). Reason: Changed URL to Test site

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTYzNy1jaGFyYWN0ZXJpc3RpY3Mtbm90LXJldGFpbmVkLWluLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

8 years 2 months ago [\#297492](#297492) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Characteristics not retained in checkout](/forum/27-checkout/895637-characteristics-not-retained-in-checkout#297492 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.1.21  Hi again  A weird problem, which I have no idea what is causing it.  On this site (selling shoes) the customer can choose the shoe size in a dropdown. This works fine on the product page, but when added to the basket it always shows the same size.  Can you tell me where the problem might be?  Best regards David")*

Hi,

Customizing the product page is not a problem. The problem is that you've made some mistakes in the HTML.
If you check the HTML of the page with the browser's inspector, you can see that the hidden data of the variants of the product are inside the form tag of the page:
[ monosnap.com/file/U0DlkVTRyK1iYDHjFyd9JWP9VJYant](https://monosnap.com/file/U0DlkVTRyK1iYDHjFyd9JWP9VJYant)
Normally, that data is outside the form. Because of that, when you click on the "add to cart" button, it submits the data of the selected variant, and then the data of each variant. This leads to the server only seeing the data of the last variant. And thus, regardless of what you select it's always that variant that gets added.
This indicates that you're missing some closing div tags near the end of the view files that you've customized or something like that.
If you check the HTML with the default template of Joomla, you'll see that the hidden data of the variants is outside of the form tag by default, so you just need to make sure that it's still the case with your customization.

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

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