Jump to content

Attribute Locations Field removed from Combinations


Mias-Accessories

Recommended Posts

Can anyone point me in the correct direction to fix this?

I have been told the functionality for adding different locations for different attribute/combinations has been removed somewhere between versions 1.4.8.2 and versions 1.6.x.x

I have separate locations e.g. a product with 6 colours each colour could be stored in a different location.

This is no longer supported - now if I update a combination I lose my location data.

 

I would like to as a minimum stop the location data field getting wiped out but more desirably to restore the functionality completely. I have added the attribute_location field to the relevant tpl but not sure where/what code to add I am guessing it is in the functions in the product class.

 

Here is the closed bug report that I raised.

 

http://forge.prestashop.com/browse/PSCSX-9149

 

Any help greatly appreciated thanks.

Ian

Link to comment
Share on other sites

  • 4 weeks later...

So forget that I am going with an edit to the tpl

/admin/themes/defauly/template/controllers/products/combinations.tpl

 

<div class="form-group">
<label class="control-label col-lg-3" for="attribute_location">
{l s='Location'}
</label>
<div class="col-lg-3">
<input maxlength="12" type="text" id="attribute_location" name="attribute_location" value="{$attribute_location}" />
</div>
</div>
 
And Product->updateAttribute ??
and product->addCombinationEntity??
 
Need to add attribute_location ??
 
Sorry too dizzy...I give up for now
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...