Developer forum

Forum » Rapido » Can I use block logic in Product List Detail View?

Can I use block logic in Product List Detail View?

Mafalda Correa
Mafalda Correa
Reply

Hi,

I was looking to add some fields in the lines between the product name and number and the Add to Cart button, but found that all the logic for the product detail view was inside one big block ("DetailsViewScripts" - @helper DetailsView). I was wondering if there's any way we could insert blocks in the middle of the product lines?

https://www.screencast.com/t/t7YSWOQHBa

This is what we have. And I'd like to add brand name between Product Name and Product Number, as well as adding various fields that we want to output in the detail view. Can I do this without replacing the whole block with new code?

https://www.screencast.com/t/QNI3HITh

Regards


Replies

 
Nicolai Pedersen
Reply

There is no such block.

I think you should consider your own list view instead since there are so many changes. See this example:

https://doc.dynamicweb.com/rapido/development/blocks/example-4-product-list

BR Nicolai

 

You must be logged in to post in the forum