Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1385020
    elijahlucian
    Participant

    I am trying to add recent products to my page with cornerstone and it doesn’t exist in the “elements”…

    What gives?

    #1385088
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Please use WooCommerce shortcodes in Cornerstone raw content element. For Ex:

    [recent_products per_page="15" columns="3"]

    You can find out the full list of shortcodes on this page::

    https://docs.woocommerce.com/document/woocommerce-shortcodes/

    Thanks.

    #1385498
    elijahlucian
    Participant

    Hi this works. thank you!

    One issue is that I don’t get a graphical representation about what the shortcode is doing, instead i get raw HTML showing on my preview. It works on the actual page, but I have to save and reload to see it. (attached)

    #1385517
    Thai
    Moderator

    Hi There,

    Could you please resize and upload the image again?

    Thanks.

    #1385527
    elijahlucian
    Participant

    Sorry here you go. Thanks for checking this.

    #1385808
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! A shortcode needs to be rendered inside the raw content and this shortcode loads WooCommerce product template. Our developers were still looking a way to resolve this glitch. Though it displays the code in Cornerstone, when you view the live page the products would show up. By the way, if you used a text element, the products should be displayed.

    Hope this helps.

    #1387766
    elijahlucian
    Participant

    Thanks. I hope this visual glitch can be solved. It would be very handy for layout.

    #1388288
    Rupok
    Member

    Hi there,

    Thanks for your feedback. Kindly check on front-end for now.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1385020 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>