aligent / magento2-prerender-io

Provides automatic recaching of URLs within Prerender.io
GNU General Public License v3.0
5 stars 1 forks source link

Add ability to re-cache CMS page URLs #7

Closed aligent-lturner closed 1 year ago

aligent-lturner commented 2 years ago

We should add the ability to re-cache CMS page URLs.

aligent-lturner commented 2 years ago

Regarding product widgets - these end up in the CMS page content in the form:

{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" ... condition_option="X" condition_option_value="Y" ... conditions_encoded="Z" ... }}

Where:

In the case of sku and category_ids conditions, we would be able to use preg_match to extract the skus or category ids that should result in the CMS page being updated. The condition case is much more complicated, and will likely be ignored as part of this issue, but could potentially be added at a later time.

aligent-lturner commented 1 year ago

Moving issue to fork https://github.com/aligent/magento2-prerender/issues/4