Jump to content

Recommended Posts

Dear prestashop users

 

After upgrading Prestashop 1.4.8 to 1.4.9 i have a problem in the Attibute Generator.

I have to translate from Dutch to English so excuses for my bad English.

 

The problem is that i have had 2 boxes Tax Excl and Tax Included,in the attribute generator. After the upgrade i only have the Tax Excl left

 

After reading this forum i have replaced 2 files to the original but it dind't resolve the problem.

The files i have replaced are

attributesBack.js

AdminAttributeGenerator.php

 

Can someone please help me out.

 

Greating the crew from Stickermaster

http://stickermaster.nl

[email protected]

 

post-300409-0-36074700-1350077113_thumb.jpg

Link to comment
Share on other sites

  • 1 month later...

Hi, i just encountered this issue, so if you're still on it here's the fix for prestashop 1.4.9 :

 

Open prestashop/js/attributesBack.js

 

The error is on line 271 (empty   cell)

 

Replace

 

html +=   '<td>' + i18n_tax_exc + ' <input id="related_to_price_impact_' + id + '" class="price_impact" style="width:50px" type="text" value="' + price + '" name="price_impact_' + id + '" onkeyup="calcPrice($(this), false)"></td>';
    html +=   '<td> </td>';
html +=   '<td><input style="width:50px" type="text" value="' + weight + '" name="weight_impact[' + id + ']"></td>';

 

by

 

html +=   '<td>'+i18n_tax_exc+' <input id="related_to_price_impact_ti_'+id+'" class="price_impact" style="width:50px" type="text" value="'+price+'" name="price_impact_'+id+'" onkeyup="calcPrice($(this), false)"></td>';
html +=   '<td>'+i18n_tax_inc+' <input id="related_to_price_impact_'+id+'" class="price_impact_ti" style="width:50px" type="text" value="" name="price_impact_ti_'+id+'" onkeyup="calcPrice($(this), true)"></td>';
html +=   '<td><input style="width:50px" type="text" value="'+weight+'" name="weight_impact['+id+']"></td>';

 

and it will be fixed :)

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