WordPress.org

Forums

iThemes Exchange: Simple WP Ecommerce
[resolved] Products shown in categories... (7 posts)

  1. jeremy2805
    Member
    Posted 1 year ago #

    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/

  2. ecalley
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. dan.rivas
    Member
    Posted 1 year ago #

    This plugin would be perfect if we have a page of categories!, hope we can have that feature in the future.

  4. jeremy2805
    Member
    Posted 1 year ago #

    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

  5. jeremy2805
    Member
    Posted 1 year ago #

    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.

  6. ecalley
    Member
    Plugin Author

    Posted 1 year ago #

    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

  7. jeremy2805
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • iThemes Exchange: Simple WP Ecommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.