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

#   Wrong variant added to cart

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

10 years 7 months ago [\#237585](#237585) by [jwatson912](/forum/user/9699-jwatson912 "View jwatson912's Profile")  *[Wrong variant added to cart](/forum/27-checkout/884026-wrong-variant-added-to-cart#237585 "-- url of the page with the problem -- :   www.sookieactive.com  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1  Hi,  I've added variants to represent different sizes (child small to A2XL). The problem I'm having... No matter which size is selected Hikashop only adds the A2XL variant. For example, if a customer chooses an adult small, the cart will add the product as a A2XL.  I have found the issue occurs when I have a product which uses a custom view (color selection) and variant (size selection) as these are the only products which have an issue.  I can provide back-end access if you need. I've a listed a link below that will take you to a product where the issue is occurring. You'll see if you add a size to cart, then checkout the size will be displayed as a A2XL    www.sookieactive.com/children/gymnastics...t/536-gabrielle.html  Need help please... This problem is occuring on at least 5 different products Thanks,")* was created by *[jwatson912](/forum/user/9699-jwatson912 "View jwatson912's Profile")*

-- url of the page with the problem -- : [ www.sookieactive.com](http://www.sookieactive.com)
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1

Hi,

I've added variants to represent different sizes (child small to A2XL). The problem I'm having... No matter which size is selected Hikashop only adds the A2XL variant. For example, if a customer chooses an adult small, the cart will add the product as a A2XL.

I have found the issue occurs when I have a product which uses a custom view (color selection) and variant (size selection) as these are the only products which have an issue.

I can provide back-end access if you need. I've a listed a link below that will take you to a product where the issue is occurring. You'll see if you add a size to cart, then checkout the size will be displayed as a A2XL

[ www.sookieactive.com/children/gymnastics...t/536-gabrielle.html](https://www.sookieactive.com/children/gymnastics/product/536-gabrielle.html)

Need help please... This problem is occuring on at least 5 different products
Thanks,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDAyNi13cm9uZy12YXJpYW50LWFkZGVkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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: 86586
- Thank you received: 14325
-
-

10 years 7 months ago [\#237593](#237593) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong variant added to cart](/forum/27-checkout/884026-wrong-variant-added-to-cart#237593 "-- url of the page with the problem -- :   www.sookieactive.com  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1  Hi,  I've added variants to represent different sizes (child small to A2XL). The problem I'm having... No matter which size is selected Hikashop only adds the A2XL variant. For example, if a customer chooses an adult small, the cart will add the product as a A2XL.  I have found the issue occurs when I have a product which uses a custom view (color selection) and variant (size selection) as these are the only products which have an issue.  I can provide back-end access if you need. I've a listed a link below that will take you to a product where the issue is occurring. You'll see if you add a size to cart, then checkout the size will be displayed as a A2XL    www.sookieactive.com/children/gymnastics...t/536-gabrielle.html  Need help please... This problem is occuring on at least 5 different products Thanks,")*

Hi,

This indicates a problem with the customization of your product page layout.
Rename the folder templates/YOUR_TEMPLATE/html/com_hikashop/product via FTP and that should fix the problem although you'll loose the customization made by someone on your end or your template provider.
So if that's the case, you'll have to contact them so that they can fix the layout modifications.

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

10 years 7 months ago -  10 years 7 months ago [\#237852](#237852) by [jwatson912](/forum/user/9699-jwatson912 "View jwatson912's Profile")  Replied by *[jwatson912](/forum/user/9699-jwatson912 "View jwatson912's Profile")* on topic *[Wrong variant added to cart](/forum/27-checkout/884026-wrong-variant-added-to-cart#237852 "-- url of the page with the problem -- :   www.sookieactive.com  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1  Hi,  I've added variants to represent different sizes (child small to A2XL). The problem I'm having... No matter which size is selected Hikashop only adds the A2XL variant. For example, if a customer chooses an adult small, the cart will add the product as a A2XL.  I have found the issue occurs when I have a product which uses a custom view (color selection) and variant (size selection) as these are the only products which have an issue.  I can provide back-end access if you need. I've a listed a link below that will take you to a product where the issue is occurring. You'll see if you add a size to cart, then checkout the size will be displayed as a A2XL    www.sookieactive.com/children/gymnastics...t/536-gabrielle.html  Need help please... This problem is occuring on at least 5 different products Thanks,")*

Okay,
I've removed the customization from the show_tabular file which did fix the problem. The file was from version 2.6.0 which seems to have change in version 2.6.2 with addition of micro-data. So, Now my custom field works correctly as I'm using the show_tabular file from version 2.6.2.

However, The tabular layout is no longer working. I have the view set to tabular, but it looks a lot like the default view. The result is the same even when I renamed the folder via FTP. I provided my code below. Can you please let me know whats going wrong. Thanks

an example can be seen at- [ www.sookieactive.com/children/gymnastics/product/524-eden.html](https://www.sookieactive.com/children/gymnastics/product/524-eden.html)
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.6.2 * @author hikashop.com * @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php hikashop_loadJslib('jquery'); $js = ''; $params = null; $this-&gt;params-&gt;set('vote_type','product'); if(isset($this-&gt;element-&gt;main)){ $product_id = $this-&gt;element-&gt;main-&gt;product_id; }else{ $product_id = $this-&gt;element-&gt;product_id; } $this-&gt;params-&gt;set('vote_ref_id',$product_id); $this-&gt;params-&gt;set('productlayout','show_tabular'); $layout_vote_mini = hikashop_getLayout('vote', 'mini', $this-&gt;params, $js); $layout_vote_listing = hikashop_getLayout('vote', 'listing', $this-&gt;params, $js); $layout_vote_form = hikashop_getLayout('vote', 'form', $this-&gt;params, $js); $config =&amp; hikashop_config(); $status_vote = $config-&gt;get('enable_status_vote'); $hide_specs = 1; if($this-&gt;element-&gt;product_manufacturer_id != 0 &#124;&#124; $this-&gt;element-&gt;product_weight != 0 &#124;&#124; $this-&gt;element-&gt;product_width != 0 &#124;&#124; $this-&gt;element-&gt;product_height != 0 &#124;&#124; $this-&gt;element-&gt;product_length != 0 &#124;&#124; @$this-&gt;element-&gt;main-&gt;product_weight != 0 &#124;&#124; @$this-&gt;element-&gt;main-&gt;product_width != 0 &#124;&#124; @$this-&gt;element-&gt;main-&gt;product_height != 0 &#124;&#124; @$this-&gt;element-&gt;main-&gt;product_length != 0) $hide_specs = 0; foreach ($this-&gt;fields as $fieldName =&gt; $oneExtraField) { $value = ''; if(empty($this-&gt;element-&gt;$fieldName) &amp;&amp; !empty($this-&gt;element-&gt;main-&gt;$fieldName))$this-&gt;element-&gt;$fieldName = $this-&gt;element-&gt;main-&gt;$fieldName; if(isset($this-&gt;element-&gt;$fieldName)) $value = trim($this-&gt;element-&gt;$fieldName); if(!empty($value)){ $hide_specs = 0; break; } } ?&gt; &lt;div itemprop="Product" itemscope itemtype="http://schema.org/Product"&gt; &lt;div id="hikashop_product_top_part" class="hikashop_product_top_part"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;topBegin)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;topBegin); } ?&gt; &lt;h1&gt; &lt;span id="hikashop_product_name_main" class="hikashop_product_name_main" itemprop="name"&gt; &lt;?php if (hikashop_getCID('product_id')!=$this-&gt;element-&gt;product_id &amp;&amp; isset ($this-&gt;element-&gt;main-&gt;product_name)) echo $this-&gt;element-&gt;main-&gt;product_name; else echo $this-&gt;element-&gt;product_name; ?&gt; &lt;/span&gt; &lt;?php if ($this-&gt;config-&gt;get('show_code')) { ?&gt; &lt;span id="hikashop_product_code_main" class="hikashop_product_code_main" itemprop="model"&gt; &lt;span id="hikashop_product_code_main" class="hikashop_product_code_main"&gt; &lt;?php echo $this-&gt;element-&gt;product_code; ?&gt; &lt;/span&gt; &lt;/span&gt; &lt;?php } ?&gt; &lt;/h1&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;topEnd)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;topEnd); } ?&gt; &lt;?php $this-&gt;setLayout('show_block_social'); echo $this-&gt;loadTemplate(); ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php if(HIKASHOP_RESPONSIVE){ ?&gt; &lt;div class="&lt;?php echo HK_GRID_ROW; ?&gt;"&gt; &lt;?php } ?&gt; &lt;div id="hikashop_product_left_part" class="hikashop_product_left_part &lt;?php echo HK_GRID_COL_6; ?&gt;"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;leftBegin)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;leftBegin); } $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('show_block_img'); echo $this-&gt;loadTemplate(); $imgMicroData = $this-&gt;loadTemplate(); ?&gt; &lt;div id="hikashop_product_description_main_mini" class="hikashop_product_description_main_mini"&gt; &lt;?php if(!empty($this-&gt;element-&gt;product_description)){ $resume = substr(strip_tags(preg_replace('#&lt;hr *id="system-readmore" */&gt;.*#is','',$this-&gt;element-&gt;product_description)),0,300); if (!empty($this-&gt;element-&gt;product_description) &amp;&amp; strlen($this-&gt;element-&gt;product_description)&gt;300) $resume .= " ...&lt;a href='#hikashop_show_tabular_description'&gt;".JText::_('READ_MORE')."&lt;/a&gt;"; echo JHTML::_('content.prepare',$resume); } ?&gt; &lt;/div&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;leftEnd)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;leftEnd); } ?&gt; &lt;/div&gt; &lt;div id="hikashop_product_right_part" class="hikashop_product_right_part &lt;?php echo HK_GRID_COL_6; ?&gt;"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;rightBegin)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightBegin); ?&gt; &lt;div itemprop="offers" itemscope itemtype="http://schema.org/Offer"&gt; &lt;span id="hikashop_product_price_main" class="hikashop_product_price_main"&gt; &lt;?php if ($this-&gt;params-&gt;get('show_price')) { $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); $CurrId = $this-&gt;element-&gt;prices[0]-&gt;price_currency_id; $null = null; $currency = $this-&gt;currencyHelper-&gt;getCurrencies($CurrId, $null); $CurrCode = $currency[$CurrId]-&gt;currency_code; ?&gt; &lt;span style="display: none;" itemprop="priceCurrency"&gt;&lt;?php echo $CurrCode; ?&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;/span&gt;&lt;br /&gt; &lt;/div&gt; &lt;div id="hikashop_product_vote_mini" class="hikashop_product_vote_mini"&gt; &lt;?php if($this-&gt;params-&gt;get('show_vote_product') == '-1'){ $this-&gt;params-&gt;set('show_vote_product',$config-&gt;get('show_vote_product')); } if($this-&gt;params-&gt;get('show_vote_product')){ echo $layout_vote_mini; } ?&gt; &lt;/div&gt; &lt;?php if($this-&gt;params-&gt;get('characteristic_display')!='list'){ $this-&gt;setLayout('show_block_characteristic'); echo $this-&gt;loadTemplate(); ?&gt; &lt;br /&gt; &lt;?php } $form = ',0'; if (!$this-&gt;config-&gt;get('ajax_add_to_cart', 1)) { $form = ',\'hikashop_product_form\''; } if (hikashop_level(1) &amp;&amp; !empty ($this-&gt;element-&gt;options)) { ?&gt; &lt;div id="hikashop_product_options" class="hikashop_product_options"&gt; &lt;?php $this-&gt;setLayout('option'); echo $this-&gt;loadTemplate(); ?&gt; &lt;/div&gt; &lt;br /&gt; &lt;?php $form = ',\'hikashop_product_form\''; if ($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } } if (!$this-&gt;params-&gt;get('catalogue') &amp;&amp; ($this-&gt;config-&gt;get('display_add_to_cart_for_free_products') &#124;&#124; ($this-&gt;config-&gt;get('display_add_to_wishlist_for_free_products', 1) &amp;&amp; hikashop_level(1) &amp;&amp; $this-&gt;params-&gt;get('add_to_wishlist') &amp;&amp; $config-&gt;get('enable_wishlist', 1)) &#124;&#124; !empty ($this-&gt;element-&gt;prices))) { if (!empty ($this-&gt;itemFields)) { $form = ',\'hikashop_product_form\''; if ($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } $this-&gt;setLayout('show_block_custom_item'); echo $this-&gt;loadTemplate(); } } $this-&gt;formName = $form; if($this-&gt;params-&gt;get('show_price')){ ?&gt; &lt;span id="hikashop_product_price_with_options_main" class="hikashop_product_price_with_options_main"&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;?php $contact = $this-&gt;config-&gt;get('product_contact',0); ?&gt; &lt;div id="hikashop_product_contact_main" class="hikashop_product_contact_main"&gt; &lt;?php if (hikashop_level(1) &amp;&amp; ($contact == 2 &#124;&#124; ($contact == 1 &amp;&amp; !empty ($this-&gt;element-&gt;product_contact)))) { $empty = ''; $params = new HikaParameter($empty); global $Itemid; $url_itemid=''; if(!empty($Itemid)){ $url_itemid='&amp;Itemid='.$Itemid; } echo $this-&gt;cart-&gt;displayButton(JText :: _('CONTACT_US_FOR_INFO'), 'contact_us', $params, hikashop_completeLink('product&amp;task=contact&amp;cid=' . $this-&gt;element-&gt;product_id.$url_itemid), 'window.location=\'' . hikashop_completeLink('product&amp;task=contact&amp;cid=' . $this-&gt;element-&gt;product_id.$url_itemid) . '\';return false;'); } ?&gt; &lt;/div&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;rightMiddle)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightMiddle); ?&gt; &lt;span id="hikashop_product_id_main" class="hikashop_product_id_main"&gt; &lt;input type="hidden" name="product_id" value="&lt;?php echo $this-&gt;element-&gt;product_id; ?&gt;" /&gt; &lt;/span&gt; &lt;br /&gt; &lt;?php if(empty ($this-&gt;element-&gt;characteristics) &#124;&#124; $this-&gt;params-&gt;get('characteristic_display')!='list'){ ?&gt; &lt;div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt;&lt;?php $this-&gt;row = &amp; $this-&gt;element; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this-&gt;row-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); ?&gt;&lt;/div&gt; &lt;?php } $this-&gt;setLayout('show_block_product_files'); echo $this-&gt;loadTemplate(); if(HIKASHOP_J30) { $this-&gt;setLayout('show_block_tags'); echo $this-&gt;loadTemplate(); } if(!empty($this-&gt;element-&gt;extraData-&gt;rightEnd)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightEnd); ?&gt; &lt;!-- custom code start here --&gt; &lt;div class="hikashop_tabs_content_main_desc" id="hikashop_show_tabular_main_description"&gt; &lt;div id="hikashop_product_description_main" class="hikashop_product_description_main"&gt; &lt;?php echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description)); ?&gt; &lt;/div&gt; &lt;span id="hikashop_product_url_main" class="hikashop_product_url_main"&gt; &lt;?php if (!empty ($this-&gt;element-&gt;product_url)) { echo JText :: sprintf('MANUFACTURER_URL', '&lt;a href="' . $this-&gt;element-&gt;product_url . '" target="_blank"&gt;' . $this-&gt;element-&gt;product_url . '&lt;/a&gt;'); } ?&gt; &lt;/span&gt; &lt;/div&gt; &lt;!-- custom code end here --&gt; &lt;/div&gt; &lt;?php if(HIKASHOP_RESPONSIVE){ ?&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;input type="hidden" name="cart_type" id="type" value="cart"/&gt; &lt;input type="hidden" name="add" value="1"/&gt; &lt;input type="hidden" name="ctrl" value="product"/&gt; &lt;input type="hidden" name="task" value="updatecart"/&gt; &lt;input type="hidden" name="return_url" value="&lt;?php echo urlencode(base64_encode(urldecode($this-&gt;redirect_url)));?&gt;"/&gt; &lt;/form&gt; &lt;div id="hikashop_product_bottom_part" class="hikashop_product_bottom_part show_tabular"&gt; &lt;div id="hikashop_tabs_div"&gt; &lt;ul class="hikashop_tabs_ul"&gt; &lt;!--&lt;li id="hikashop_show_tabular_description_li" class="hikashop_tabs_li ui-corner-top"&gt;&lt;?php echo JText::_('PRODUCT_DESCRIPTION');?&gt;&lt;/li&gt; &lt;?php if($hide_specs == 0){ ?&gt; &lt;li id="hikashop_show_tabular_specification_li" class="hikashop_tabs_li ui-corner-top"&gt;&lt;?php echo JText::_('SPECIFICATIONS');?&gt;&lt;/li&gt;--&gt; &lt;?php } if($status_vote == "comment" &#124;&#124; $status_vote == "two" &#124;&#124; $status_vote == "both" ){ ?&gt; &lt;li id="hikashop_show_tabular_comment_li" class="hikashop_tabs_li ui-corner-top"&gt;&lt;?php echo JText::_('PRODUCT_COMMENT');?&gt;&lt;/li&gt; &lt;li id="hikashop_show_tabular_new_comment_li" class="hikashop_tabs_li ui-corner-top"&gt;&lt;?php echo JText::_('PRODUCT_NEW_COMMENT');?&gt;&lt;/li&gt; &lt;?php } ?&gt; &lt;/ul&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomBegin)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomBegin); ?&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_description"&gt; &lt;div itemprop="thing" itemscope itemtype="https://schema.org/Thing"&gt; &lt;!--&lt;div id="hikashop_product_description_main" class="hikashop_product_description_main" itemprop="description"&gt; &lt;?php echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description)); ?&gt; &lt;/div&gt;--&gt; &lt;!-- Add image for Micro Data here --&gt; &lt;span style="display: none;"&gt;&lt;?php echo $imgMicroData; ?&gt;&lt;/span&gt; &lt;/div&gt; &lt;span id="hikashop_product_url_main" class="hikashop_product_url_main"&gt; &lt;?php if (!empty ($this-&gt;element-&gt;product_url)) { echo JText :: sprintf('MANUFACTURER_URL', '&lt;a href="' . $this-&gt;element-&gt;product_url . '" target="_blank"&gt;' . $this-&gt;element-&gt;product_url . '&lt;/a&gt;'); } ?&gt; &lt;/span&gt; &lt;/div&gt; &lt;?php if($hide_specs == 0){ ?&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_specification"&gt; &lt;?php $this-&gt;setLayout('show_block_dimensions'); echo $this-&gt;loadTemplate(); if(!empty($this-&gt;fields)){ $this-&gt;setLayout('show_block_custom_main'); echo $this-&gt;loadTemplate(); } ?&gt; &lt;/div&gt; &lt;?php } if($status_vote == "comment" &#124;&#124; $status_vote == "two" &#124;&#124; $status_vote == "both" ){ ?&gt; &lt;form action="&lt;?php echo hikashop_currentURL() ?&gt;" method="post" name="adminForm_hikashop_comment_form" id="hikashop_comment_form"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomMiddle)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomMiddle); ?&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_comment"&gt; &lt;div id="hikashop_vote_listing" data-votetype="product" class="hikashop_product_vote_listing"&gt; &lt;?php echo $layout_vote_listing; ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_new_comment"&gt; &lt;div id="hikashop_vote_form" data-votetype="product" class="hikashop_product_vote_form"&gt; &lt;?php echo $layout_vote_form; ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;/form&gt; &lt;?php } ?&gt; &lt;input type="hidden" name="selected_tab" id="selected_tab" value="hikashop_show_tabular_comment"/&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomEnd)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomEnd); ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;script type="text/javascript"&gt; if(typeof(hkjQuery) == "undefined") window.hkjQuery = window.jQuery; window.hikashop.ready( function(){ var selectedTab = hkjQuery( "#selected_tab" ).val(); hkjQuery("#hikashop_tabs_div").children("div").css("display","none"); hkjQuery("#"+selectedTab+"_li").addClass("hikashop_tabs_li_selected"); hkjQuery("#"+selectedTab).css("display","inherit"); hkjQuery("#hikashop_tabs_div .hikashop_tabs_ul li").click(function(){ var currentLi = hkjQuery(this).attr("id"); var currentDiv = currentLi.replace("_li",""); hkjQuery("#hikashop_tabs_div").children("div").css("display","none"); hkjQuery("#hikashop_tabs_div").children("form").children("div").css("display","none"); hkjQuery("#"+currentDiv).css("display","inherit"); hkjQuery(".hikashop_tabs_li_selected" ).removeClass("hikashop_tabs_li_selected"); hkjQuery("#"+currentLi).addClass("hikashop_tabs_li_selected"); }); }); &lt;/script&gt;

Last edit: 10 years 7 months ago by [jwatson912](/forum/user/9699-jwatson912 "View jwatson912's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDAyNi13cm9uZy12YXJpYW50LWFkZGVkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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: 86586
- Thank you received: 14325
-
-

10 years 7 months ago [\#237870](#237870) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong variant added to cart](/forum/27-checkout/884026-wrong-variant-added-to-cart#237870 "-- url of the page with the problem -- :   www.sookieactive.com  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1  Hi,  I've added variants to represent different sizes (child small to A2XL). The problem I'm having... No matter which size is selected Hikashop only adds the A2XL variant. For example, if a customer chooses an adult small, the cart will add the product as a A2XL.  I have found the issue occurs when I have a product which uses a custom view (color selection) and variant (size selection) as these are the only products which have an issue.  I can provide back-end access if you need. I've a listed a link below that will take you to a product where the issue is occurring. You'll see if you add a size to cart, then checkout the size will be displayed as a A2XL    www.sookieactive.com/children/gymnastics...t/536-gabrielle.html  Need help please... This problem is occuring on at least 5 different products Thanks,")*

Hi,

You've added HTML comments around the div and ul for the description and specification tabs. So that's why they don't appear there.
And the two tabs that appear regarding the comments do switch properly.

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

10 years 7 months ago [\#237963](#237963) by [jwatson912](/forum/user/9699-jwatson912 "View jwatson912's Profile")  Replied by *[jwatson912](/forum/user/9699-jwatson912 "View jwatson912's Profile")* on topic *[Wrong variant added to cart](/forum/27-checkout/884026-wrong-variant-added-to-cart#237963 "-- url of the page with the problem -- :   www.sookieactive.com  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1  Hi,  I've added variants to represent different sizes (child small to A2XL). The problem I'm having... No matter which size is selected Hikashop only adds the A2XL variant. For example, if a customer chooses an adult small, the cart will add the product as a A2XL.  I have found the issue occurs when I have a product which uses a custom view (color selection) and variant (size selection) as these are the only products which have an issue.  I can provide back-end access if you need. I've a listed a link below that will take you to a product where the issue is occurring. You'll see if you add a size to cart, then checkout the size will be displayed as a A2XL    www.sookieactive.com/children/gymnastics...t/536-gabrielle.html  Need help please... This problem is occuring on at least 5 different products Thanks,")*

The tabs are exactly as I want them to be. I was referring to right side ( price, quantiity, add to cart button) displaying below the left side instead of next to the left side. I want this items to display side by side. Please help with this

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDAyNi13cm9uZy12YXJpYW50LWFkZGVkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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: 86586
- Thank you received: 14325
-
-

10 years 7 months ago [\#237984](#237984) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong variant added to cart](/forum/27-checkout/884026-wrong-variant-added-to-cart#237984 "-- url of the page with the problem -- :   www.sookieactive.com  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1  Hi,  I've added variants to represent different sizes (child small to A2XL). The problem I'm having... No matter which size is selected Hikashop only adds the A2XL variant. For example, if a customer chooses an adult small, the cart will add the product as a A2XL.  I have found the issue occurs when I have a product which uses a custom view (color selection) and variant (size selection) as these are the only products which have an issue.  I can provide back-end access if you need. I've a listed a link below that will take you to a product where the issue is occurring. You'll see if you add a size to cart, then checkout the size will be displayed as a A2XL    www.sookieactive.com/children/gymnastics...t/536-gabrielle.html  Need help please... This problem is occuring on at least 5 different products Thanks,")*

Hi,

The problem comes from the customization done to the social area on your page which messes with the bootstrap system of the left/right areas of the product page.
If you add that CSS code it would avoid that:
.row-fluid{ clear: both; }

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

10 years 6 months ago [\#239032](#239032) by [IconBrands](/forum/user/32349-iconbrands "View IconBrands's Profile")  Replied by *[IconBrands](/forum/user/32349-iconbrands "View IconBrands's Profile")* on topic *[Wrong variant added to cart](/forum/27-checkout/884026-wrong-variant-added-to-cart#239032 "-- url of the page with the problem -- :   www.sookieactive.com  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1  Hi,  I've added variants to represent different sizes (child small to A2XL). The problem I'm having... No matter which size is selected Hikashop only adds the A2XL variant. For example, if a customer chooses an adult small, the cart will add the product as a A2XL.  I have found the issue occurs when I have a product which uses a custom view (color selection) and variant (size selection) as these are the only products which have an issue.  I can provide back-end access if you need. I've a listed a link below that will take you to a product where the issue is occurring. You'll see if you add a size to cart, then checkout the size will be displayed as a A2XL    www.sookieactive.com/children/gymnastics...t/536-gabrielle.html  Need help please... This problem is occuring on at least 5 different products Thanks,")*

If I get you, the problem lies in custom templates. So if we use the default template, we should not have issues anymore?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDAyNi13cm9uZy12YXJpYW50LWFkZGVkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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: 86586
- Thank you received: 14325
-
-

10 years 6 months ago [\#239037](#239037) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong variant added to cart](/forum/27-checkout/884026-wrong-variant-added-to-cart#239037 "-- url of the page with the problem -- :   www.sookieactive.com  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1  Hi,  I've added variants to represent different sizes (child small to A2XL). The problem I'm having... No matter which size is selected Hikashop only adds the A2XL variant. For example, if a customer chooses an adult small, the cart will add the product as a A2XL.  I have found the issue occurs when I have a product which uses a custom view (color selection) and variant (size selection) as these are the only products which have an issue.  I can provide back-end access if you need. I've a listed a link below that will take you to a product where the issue is occurring. You'll see if you add a size to cart, then checkout the size will be displayed as a A2XL    www.sookieactive.com/children/gymnastics...t/536-gabrielle.html  Need help please... This problem is occuring on at least 5 different products Thanks,")*

It should since we don't have the problem on our end.

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

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