cancel
Showing results for 
Search instead for 
Did you mean: 

Newsletter history

Newsletter history

Hello,

 

The Magento site of one of my customers contains a newsletter history.
See: Nieuwsbrieven
I wrote a special script for that. It displays the latest 10 letters, being logged in table _newsletter_queue_. 

 

Now, the shopowner, in his latest letter, made (in contrast to previous letters) use of a widget, namely

_widget type="Magento\CatalogWidget\Block\Product\ProductsList" title="Nieuw binnen" show_pager="0" products_count="20" template="product/widget/content/grid.phtml_.

 

Of course my script doesn't understand this and displays the code literary. Is it possible to make it work in this context? Furthermore, I need to pass a week number or date argument, in order to have the relevant newsletter being displayed.