Tagged: x
-
AuthorPosts
-
November 12, 2016 at 10:52 am #1254499
smart_xParticipantHi X Team,
How can I add a few Woocommerce products to show on my homepage?
November 12, 2016 at 2:39 pm #1254611
Nabeel AModeratorHi there,
Thanks for writing in! You can show multiple products by ID using a shortcode on your homepage for example:
[products ids="1, 2, 3, 4, 5"]To explore more Woocommerce shortcodes please visit https://docs.woocommerce.com/document/woocommerce-shortcodes/
Cheers!
November 13, 2016 at 3:33 am #1255046
smart_xParticipantHi,
Thank you for your answer but can you explain me how and wehere I add this shortcode with Cornerstone.
Thank you.
November 13, 2016 at 3:38 am #1255048
ChristianModeratorYou can add it in a Text or Raw Content element.
Thanks.
November 13, 2016 at 3:46 am #1255055
smart_xParticipantOk thanks i just tried the Text element. That works.
Only can’t figureout the way the code sorts? It’s not that order that I type the the id’s.Also is it possible to at the products in equal size. Because the pictures have different sizes they also show different. This is also the case ont he webshop page.
November 13, 2016 at 3:57 am #1255057
ChristianModeratorPlease set the orderby attribute. For more details, please see the links below:
https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-9
https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_ParametersSetting the images to equal size would require custom development which regretfully is outside the scope of our support. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1254499 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
