Developer forum

Forum » Ecommerce - Standard features » Rendering stock locations

Rendering stock locations

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I have a site with Click and Collect which renders stock locations. I have a few questions related to how the locations are rendered:

1. It seems to be using /Templates/eCom7/ShippingProvider/StockLocationServicePoint.html. Where is that configured? Or is the location hard coded internally? Can I switch it to a cshtml template?

2. The Description tag doesn't seem available. Can that be added? Helpful for things like opening hours of the store.

Thanks!

Imar


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Strike that first question; found it on the shipping provider.

 
Nicolai Pedersen
Reply

I have added 3 tags for the StockLocationServicePoint template:

  • StocklocationCategory.Id
  • StocklocationCategory.Name
  • StocklocationCategory.Description

Is that what you were missing?

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

I was actually talking about the description of the location, not the location category:

 
Nicolai Pedersen
Reply

Arh!

Added in the ServicePoints loop in the StockLocationServicePoint template. Would that be it?

BR Nicolai

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Yes, perfect. Thank you!

 

You must be logged in to post in the forum