• Resolved lagencebleu

    (@lagencebleu)


    Hi, so i’m opening this new thread. I’m using your (good) plugin in my template like this:
    <?php echo do_shortcode('[spreadplugin shop_category="404493"]'); ?>
    Got all the products of all categories.

    I try to use shop_productcategory like this:
    <?php echo do_shortcode('[spreadplugin shop_productcategory="Hommes"]'); ?>
    Got nothing, also with other predefined categories.
    I build and rebuild the cache, try to change country or other parameters but nothing change.
    Thank’s for the help.

    https://ww.wp.xz.cn/plugins/wp-spreadplugin/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    Hi,

    why in a template? Just paste the shortcode into a post or page and click rebuild cache. You don’t have to use any php or different – much too complicated 😉

    Best
    Thimo

    Thread Starter lagencebleu

    (@lagencebleu)

    Ok. So I modified my templates to use the loop instead of the do_shortcode function, rebuild the cache after saving my different pages and now it’s working perfectly. I don’t know why. Thank you for that plugin. I have two requests for the future version:

    • modify the css for changing the cart icon. There’s a !important that locked this.
    • change the selects content with the right categories name when using shop_category.

    Thank’s again

    Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    • Just add your styles to “Custom CSS” and add !important to them. So you could overwrite them.
    • When using shop_category you could hide the selectes, because they won’t filter in the category (i believe)

    Best
    Thimo

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shop_category doesn't work’ is closed to new replies.