Attribute specification problem

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hi,
with nopcommerce 4.10 we can't add new specification attribute. Simply the button to add the new attribute does not work at all.
We imported products and attributes from old web site but for new product we can't add specification attribute
Can  someone help us to solve this problem?

thnaks in advance

Claudio
4 years ago
Hi,

Check what is the href of the Add New button. It should route to storeUrl/Admin/Product/ProductSpecAttributeAddOrEdit?productId=productId if you are on the Product Edit page.

You can try to manually open this URL in the browser. Just change the product id and store URL.

EDIT: In nopCommerce 4.10 adding specification attributes is handled in another way and the route above won't work. Please check if you have any errors in the browser console.

Regards,
Stoyan
4 years ago
thank you for your reply

I have found that an "'" symbol in an italan translation of a resource

I have found that the problem was caused by the symbol "'" in the Italian translation of a resource.
The error displayed in the browser console:
Uncaught SyntaxError: missing ) after argument list
The resource translation :
Prima di tutto, crea almeno un' opzione per l' attributo di specificazione

The line in the code whith the error

//other (text, hyperlink, etc)
alert('Prima di tutto, crea almeno un' opzione per l' attributo di specificazione');

Thanks again for your reply
4 years ago
Hi,

I cant put/add specification attributes to a product on my nop store built on 4.20 as it brings an error.

Please assist.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.