Open the store list in the nopcommerce admin mode.
Check your store URL.
It has to have a forward slash '/' at this end of the string.
Example
https://www.yourstore.com/
Please check it and write me about result.
Check the name of model for product details page and check the names of the action and the controller.
I upgraded all plugins.
Clear the cache of the browser and download the new ZIP file.
I download the old 3.1.0 DLL Microsoft files and recompiled plugin.
Please try again.
Download the new release.
I recompiled the plugin with less DLL versions.
Try and write me about result.
An you want to create array for product order items.
Am I right?
'transactionProducts': [{
'sku': '%ProductIds%',
'name': '',
'category': %PageType%,
'price': %ProductPrice%,
'quantity': %Quantity%
}]
I can't understand you. Plugin adds all products (not one!) from the order in this DataLayer object. See example.
<script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({
'transactionId': '1234',
'transactionAffiliation': 'Acme Clothing',
'transactionTotal': 38.26,
'transactionTax': 1.29,
'transactionShipping': 5,
'transactionProducts': [{
'sku': 'DD44',
'name': 'T-Shirt',
'category': 'Apparel',
'price': 11.99,
'quantity': 1
},{
'sku': 'AA1243544',
'name': 'Hat',
'category': 'Apparel',
'price': 9.99,
'quantity': 2
}]
});
</script>