Hey,
I think the best way to do this would be to use the . post-type-archive-product
class applied to the body tag on product archives. You can then just reverse the floating of the main div and the sidebar. Remember that this will “break” the main layout setting in the Customizer though.
If you want to include products on a custom page template you have two options;
* You can use the shortcodes built into WooCommerce
* You can create a custom loop to pull in products
It really depends on what kind of products you want to display. If it’s just featured product for example, the shortcodes would be easier. You can use storefront_do_shortcode()
to do this.