1

So I am trying to show a certain products price on an cms page. Is there anyway that I can do this?

I have a hardcoded landing cms page and I wanted to display dynamically a price of a certain product.

1 Answer 1

1

you can add by widget:-

Suppose add number 3 category's product:-

{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" show_pager="0" products_count="10" template="product/widget/content/grid.phtml" conditions_encoded="^[`1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Combine`,`aggregator`:`all`,`value`:`1`,`new_child`:``^],`1--1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Product`,`attribute`:`category_ids`,`operator`:`==`,`value`:`3`^]^]"}}
1
  • How can I use a product list widget to just show the price of the product on an cms page.
    – DevAnd
    Commented May 21, 2018 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.