Hi jeremy2805,
There isn’t a way to organize products on the store page by category at this time.
The actual category pages are already created and you should be able to view them. If you want to add images to your category pages, check out this article in our Exchange codex: How Do I Show the Product Featured Image on Archive/Category Pages
Let us know if you have any additional questions.
Thanks,
Elise
This plugin would be perfect if we have a page of categories!, hope we can have that feature in the future.
Hi Elise,
That’s great. I can fiddle about with the theme to get it presenting what I’m after and I doubt the client will have categories that are particularly volatile, so I can hand-crank the category selection page.
Many thanks for your help,
Jeremy
Hi Elise,
OK, sorry about this but after a bit of digging I’m a bit confused still.
That seems to produce an archive, rather than a subset of the store, filtered by category.
Is there any documentation of the it_exchange function? Ideally I want to apply a filter in this loop.
Even if I could somehow check the category of a product and skip over it, that would do.
<div id="it-exchange-store">
<ul class="it-exchange-products">
<?php if ( it_exchange( 'store', 'has-products' ) ) : ?>
<?php while( it_exchange( 'store', 'products' ) ) : ?>
<?php it_exchange_get_template_part( 'store', 'product' ); ?>
<?php endwhile; ?>
<?php else : ?>
<p><?php _e( 'No Products Found', 'it-l10n-ithemes-exchange' ); ?></p>
<?php endif; ?>
</ul>
</div>
Many thanks.
Hi jerem2805,
Exchange does use your themes’ archive pages and doesn’t create its own category pages.
There is a page in our Exchange codex listing all Exchange functions: Exchange/Functions
Let us know if you have any additional questions.
Thanks,
Elise
Hi Elise,
Thanks for your help, but I think I’ll go for WooCommerce rather than try to shoe-horn Exchange to do what I want. My PHP skills are such that I’ll probably end up breaking it anyway.
Regards,
Jeremy