DKK Posted August 8, 2016 Share Posted August 8, 2016 Hi all, I have realized something weird on my webpage. When I look at product details on a product, there is a "reference" and "condition" section. If it is ever a single product without combinations, reference is displayed like in the following http://www.homatex.com.tr/en/bar-presentation/4343-boston-shaker.html If it is a combination, reference is not displayed at all like in the following http://www.homatex.com.tr/en/industrial-kitchen-equipments/15949-hamilton-beach-bar-blender.html I would be very greateful if you could help me on this, Regards, deniz Link to comment Share on other sites More sharing options...
Rolige Posted August 9, 2016 Share Posted August 9, 2016 This is normal, check the official demo here: http://fo.demo.prestashop.com/en/blouses/2-blouse.html Some themes hide those parameters, but the default theme works like that. When you don't set a reference in the product editor, then this block is not displayed. Link to comment Share on other sites More sharing options...
DKK Posted August 9, 2016 Author Share Posted August 9, 2016 Hi, In this scenario this is not the case. Reference is set in combinations and It used to work before. I can verify that all has a reference so in my case where do I need to check in order to solve it? Link to comment Share on other sites More sharing options...
DKK Posted August 10, 2016 Author Share Posted August 10, 2016 Any idea? Link to comment Share on other sites More sharing options...
Rolige Posted August 11, 2016 Share Posted August 11, 2016 There is a possibility that your theme is not compatible with your current version of PrestaShop, you can test this by changing to default theme and clear the cache, if this works correctly with the default theme, you will have the reply to your question. Link to comment Share on other sites More sharing options...
DKK Posted August 13, 2016 Author Share Posted August 13, 2016 It is default-bootstrap version 1.0 with the version of 1.6.1.4 so in this case it is not the problem which causes it. I try to narrow down the possibilities. Moreover, Reference codes were shown before even with combinations. All of a sudden it stopped showing it. What I have done might have caused it so I try to explained in the following. Firstly, I added a line based on my customer to product.tpl just above reference code showing manufacturer name but even though I replaced it with original product.tpl file, the result was the same. In this scenario, It is not the case I think. <div class="pb-center-column col-xs-12 col-sm-4"> {if $product->online_only} <p class="online_only">{l s='Online only'}</p> {/if} <h1 itemprop="name">{$product->name|escape:'html':'UTF-8'}</h1> <p> <label>{l s='Manufacturer:'} </label> <span itemprop="manufacturer_name">{$product->manufacturer_name|escape:'html':'UTF-8'}</span> </p> <p id="product_reference"{if empty($product->reference) || !$product->reference} style="display: none;"{/if}> <label>{l s='Reference:'} </label> <span class="editable" itemprop="sku"{if !empty($product->reference) && $product->reference} content="{$product->reference}"{/if}>{if !isset($groups)}{$product->reference|escape:'html':'UTF-8'}{/if}</span> </p> Secondly, Under Catalog -> Product Attributes link, I used to create lots of attributes. Later I realized there were also lots of duplicates records. Therefore, manually I tried to make it correct. For example under "Height" there were duplicate of 10.7 cm record. Do you think it might cause not to show reference code for combinations products. Because as I told you before, a product without combinations displays reference code only not with combinations. I hope that you could give me an ideon on this Regards, deniz Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now