Jump to content

Show Basic Setting Reference, not Combination's Reference


Recommended Posts

Hello,

In my website (Prestashop 1.6.1.15): www.vlaboutique.com, I need to replace Reference Field that appear in Product Page (Front Office):

image.thumb.png.ce10e9c3a2487bbcc99d816649b53914.png

I want show General Reference of product:


image.thumb.png.fe1b34ed112153306a471c251df60e16.png


  not the reference of the combination:

image.thumb.png.4cd2f276059c3096a3b44040661f9da3.png

 

Can I fix this?

I use leo_fashion_store theme.

I tryed to ask to Leo Theme Support, but they want money for fix this.

In my opinion I should modify the product.tpl file, in particular this piece of code:

<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> 

But I do not know how I can do it.
Can you help me? Thank you

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...