Developer forum

Forum » Ecommerce - Standard features » Catalog Publishing Issues

Catalog Publishing Issues

Kevin O'Driscoll
Reply

Using DW 8.9.2.6
In the product catalog (eCom) we have a very interesting Catalog Publishing feature with html templates, some css and some .js files.
I have however found quite a few issues with this feature out of the box and I'm not sure I'm understanding it correctly:

1.In the preview.js file there is a reference to priceInfo = new Dynamicweb.eCom.PriceHelper(getIntDel(), getDecDel());
This gives me a js eror on the client: preview.js:97 Uncaught TypeError: Cannot read property 'PriceHelper' of undefined
    at RecalcPrice (preview.js:97).
This occurs when a quantity or price is changed in the preview mode.

2. If I add a product to the publisher and click create catalog I get an intermitant error:
An error occured while attaching module (Dynamicweb.Frontend.Content)
System.NullReferenceException: Object reference not set to an instance of an object.
   at Dynamicweb.eCommerce.Frontend.CatalogPublishing.CatalogPublishing.GenerateHTMLPreview(Dictionary`2& productsToPrint, Dictionary`2 proposedPrices, Boolean isPreview)
   at Dynamicweb.eCommerce.Frontend.Frontend.GetContent()
   at Dynamicweb.Frontend.Content.GetModule(DataRow& ParagraphRow)
The error goes away only by recycling the Application Pool or restarting the site

3. If Im able to Create a catalog I can download it but cannot email it, the button does nothing.

This feature seems to be existing still in DW9 with little changes made to the scripts.

Can anyone share their experiences with this feature since its the first time Ive used it.

Rgds
Kevin 


Replies

 

You must be logged in to post in the forum