Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Products in Sitemap.xml

Products in Sitemap.xml

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I am trying to get products to show up in Sitemap.xml but I can't get it to work on a DW 9.4.9 site. Here's what I tried:

1. Enabled "Show products in sitemap" on Area settings
2. Assigned primary group to all products
3. Groups are set to show in Sitemap
4. Groups have a primary products page
5. Rebuild the index

Yet when I access /Sitemap.xml I can see pages, and even ecom navigation for groups (for example /products/group-name) but no products.

Am I missing a step or setting?

 


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Bump. Any recommendations on how to make the sitemap work again?

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Bump....Are products in the sitemap still supported and supposed to work? Or should I look into building my own stuff?

 
Nicolai Pedersen
Reply

"It works on my machine", see dump...

There are a lot of things that need to be in place - I need a URL to check it out.

BR Nicolai

Capture.PNG
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hmmm, interesting. The URL is here: http://dev-rizzo.dw-demo.com/

Thanks,

Imar

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have 2 solutions running on the same application version: 9.4.14.

They are both set up similarly but one of them shows Ecom categories in Sitemp while the other one does not.

https://www.austral.ro/sitemap.xml - shows

https://www.rtc.ro/sitemap.xml - does not show

Both have 

Link to Google Sitemap = True

Include products inside sitemap.xml = True

The only difference that I have noticed id that the one that works had the Ecompage published while the other one has it hidden.

But even so, before the upgrade both showed the same type of sitemap.

I remember the publishing of the Ecom node had an influence on the navigation. Maybe it has some influence on the sitemap as well in newer versions?

Thanks,

Adrian

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

Piggy-backing on this thread, I am running with the same issue as Imar.

  • My product has a primary group
  • The group has a "Primary page"
  • I reindexed the repository
  • The website's Robots.txt settings are set properly (afaik)
    • Link to Google Sitemap = True

    • Include products inside sitemap.xml = True

 

What am I doing wrong? Is there any cache I need to invalidate?
Using 9.4.18

 

Best Regards,

Nuno Aguiar

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Bump... any thoughts or ideas?

 

  • I've confirmed products have a primary group
  • I tried to set the group's prumary page
  • I tried setting the Shop on the product to match the website's Shop

 

Nothing works. Could there be a bug? Here's a live website where it used to work https://www.australiangold.com/​. If that's not a DW website, it means I need to provide you with a different way to access that website.

 

Best Regards,

Nuno Aguiar

 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Made some progress on this and found a way to make it work sometimes. It turns out that if "Assortments in frontend" is turned on under Settings | Ecommerce | Advanced configuration | Assortments, it doesn't work. When I turn it off, it works for sites that don't have assortments. I think that makes sense and solves it for those sites.

For sites that do use assortments, it still doesn't work, regardless the setting. I would expect the navigation provider to pick up the Anonymous assortment, but it doesn't. Should it?

Imar

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi Imar,

I was able to reproduce the issue on last DW95 when the setting is enabled regardless products (output by navigation enabled with Standard/SimpleAssortment provider) include in an assortmen active/not active (Anonymous option was used). It is the difference with your description above or I do not understande your way regarding how site can use(have) an assortment, since shop/product group(s)/product(s) can be attached to assortment only and the option turns rendering of assortment off at all. Please, clarify. Perhaps, the issue depends on some extra conditions, since I see the both Adrian's sites mentioned above have assortment turned on in frontend. 

BR, Oleg QA 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Oleg,

I'm not sure I understand what you are saying exactly. 

I think I see the following situations:

1. Not using assortments: I think this currently works OK and you just need to remember to turn off that checkbox in the Settings area. IMO, it makes sense to do so, as there are no assortments.

2. Using assortments. When the site uses assortments, I would expect the Anonymous assortment to show up as products in the sitemap, just like they do for the regular navigation. Does that make sense?

Imar

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
This post has been marked as an answer

HI Imar,

Thanks a lot for the clarifications. New TFS 57935 has been submitted to implement the feature.

BR, Oleg QA

Votes for this answer: 1
 
Anders Ebdrup
Anders Ebdrup
Reply

Hi Oleg,

 

How far are you with a solution here?

 

Best regards, Anders

 
Nicolai Pedersen
Reply

57935 will be released with 9.7 on Tuesday.

 

You must be logged in to post in the forum