Hi Guys
I have nearly 11,000 products in a NopCommerce 3.9 database (as imported by a NopCommerce gold partner here).
Time restrictions are putting the pressure on me so the last part of the set up is dragging on and I cannot launch the website after nearly 2 years.
I have a NopTemplates theme installed (Traction) which uses an Advanced Ajax filter, and one of the filters I need to use utilises a product specification attribute, BUT, the specification attribute has been entered as a "custom text" type specification instead of an "option" type specification (and also NOT set as "Allow Filtering") that would trigger the filter. This is true on all of the products and as you can imagine going through 11,000 products and deleting and then adding the specification again as the correct type would just not be viable.
Is there an SQL query that could be run across the database that could change the specification (the specification is called "Layout" in all instances and all currently configured as "Custom text" type) from Custom Text to Option and then make "Allow Filtering" for that specification as True instead?
I am thinking the data may have been added slightly incorrectly if the current "Custom text" specification is showing as "Allow Filtering" with an X (False) as Custom Text option disables the option to allow filtering when selected when adding a new specification.
Here is how they sit currently: