Show woocomerce product in my own custom order by short code?
Hi!
I need to ask after hours of tries by my own without success…
I would like to have a short code to display some of our products by my own custom order.
For example on http://www.badbaljan.com/badtunna-av-plast/ I would like to display up to four products per row in the order I like.
I have tried on a test page, http://www.badbaljan.com/testproduktordning/ to use the example shortcode [products ids=”1, 2, 3, 4, 5″] in my case [products ids=”11, 802, 829″] but they are not shown in correct order, they are being shown “802, 829, 11”.
Maybe it because two of these product are on sale and they are then displayed before, I don’t know.
But how can I write a short code that set the order permanent?
// Eric
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi Eric
Good to hear from you.
A test you could try here is to create three new test products, create theme in the same way with the same attributes. Then list them using the shortcode method. Is their order maintained?
Another test you could run is on your three products, take the two that are are on sale and remove the sale listing.
This isn’t something I’ve worked with in the past so you’ll need to experiment a little to see if you can figure out what’s up.
Thanks
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.