• Resolved jeremy2805

    (@jeremy2805)


    Hi,

    Great little plugin. This is my first ecommerce project and I think it’s going to be a great fit for my client.

    Anyway, I’ve implemented product categories, and was wondering whether my store page could just show categories, with maybe a category thumb, then have the individual category pages show as per the store (but obviously limited to just that category.) It’s a simple kind of thing and I can’t figure out how to do it.

    I can probably write it myself, but just wanted to check I hadn’t missed a trick before going ahead.

    Thanks.

    https://wordpress.org/plugins/ithemes-exchange/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Elise Alley

    (@ecalley)

    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.

    Thread Starter jeremy2805

    (@jeremy2805)

    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

    Thread Starter jeremy2805

    (@jeremy2805)

    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.

    Plugin Author Elise Alley

    (@ecalley)

    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

    Thread Starter jeremy2805

    (@jeremy2805)

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Products shown in categories…’ is closed to new replies.