Hi Dynamicweb,
We have problem with e.g. removing products from the discount selector (ProductsAndGroupsSelector) when we have product id's containing spaces.
I think the problem will be solved by changing these three lines in ProductsAndGroupsSelector.js:
var productRegex = /imgp_([\S]+)/; var groupRegex = /imgg_([\S]+)/; var searchRegex = /imgss_([\S]+)/;
To:
var productRegex = /"imgp_(.+)"/; var groupRegex = /"imgg_(.+)"/; var searchRegex = /"imgss_(.+)"/;
as you will always need all the content in the string and not just a word.
Best regards, Anders