Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Maeve Lander

    (@enigmaweb)

    That’s interesting… Which page template are you using for the page where the [wp-catalogue] shortcode is embedded?

    I can’t be 100% sure without seeing the theme code in more detail, but I think the problem is a conflict with the custom post type the WP Catalogue uses and your theme. To confirm, you could switch to the default theme temporarily, and see if the problem is still happening… If not, then it is definitely an issue between the theme and the plugin, and we can troubleshoot further from there.

    Thread Starter strongheartfun

    (@strongheartfun)

    The page is set to Default Template.

    I did a live preview of another theme and it did not show the problem. It seems the issue is only between the customizr theme and plugin.

    Thread Starter strongheartfun

    (@strongheartfun)

    If it helps…

    I noticed that whats posting on the bottom is the product details of the last product listed on the page. So If I change the order I list my products that bottom post changes to show the product details of whatever the last product on the page is.

    Plugin Author Maeve Lander

    (@enigmaweb)

    Ok thanks for checking that @strongheartfun

    WP Catalogue is built on a custom post type. I suspect the conflict is simply that your theme is using something with the same name, and thus WordPress isn’t quite sure what to display on that page. Without access I can’t really help further. As it’s definitely a problem in your theme (rather than the plugin), this is something to take back to your developer or the theme vendor and get further assistance.

    Hope that helps

    Thread Starter strongheartfun

    (@strongheartfun)

    Hey I found this information for a different plugin but it sounds like the same issue I am having.

    https://implecode.com/wordpress/product-catalog/theme-integration-guide/

    Is there anything similar to this that we can do for wp-catalogue to work with my theme.

    I have had a quick look at this. The theme is doing something clever involving buffering the output. I didn’t dig too deeply though. This is clashing with the plugin in this instance.

    The plugin also needs some slight amending to fix its own issue. This should fix your problem.

    If you are able, please try replacing line 161 of the plugin file wpc-catalogue.php

    endwhile; wp_reset_postdata;

    with

    endwhile; wp_reset_postdata();

    Please report back how it goes. A fix can be added in the next update of the plugin if needed.

    Thanks

    Thread Starter strongheartfun

    (@strongheartfun)

    That fixed the problem!

    Thank you for your help!

    Plugin Author Maeve Lander

    (@enigmaweb)

    Nice work @steaders, great solution. I’ll implement this fix into next release of the plugin for everyone.

    Thanks again ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Delete Post under Product List’ is closed to new replies.