• Resolved Arun Kumar

    (@procontentxyz)


    All pages show shop page/products, after we set Shop as static homepage & custop page called blog as Posts page

    Setting > reading

    Please check on your end.

    I have only two plugins at time of checking this:

    1. Annasta filters
    2. Woocommerce
    3. Storefront theme

    Its definitely a bug in your plugin.

    Please check in above envoirnment.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author annastaa

    (@annastaa)

    Hello Arun,

    Thank you for reporting your issue! Unfortunately, I couldn’t reproduce it on 2 of our test sites, so could you please clarify the problem so that we could gain a better understanding?

    Here is a sample page of our demo site which also has static homepage set to shop and other parameters similar to yours. If you click on the link, you will see that there is no product list displayed on this page.

    Perhaps you mean that when used on pages other than shop page, our filters redirect results to shop page? This is the expected behaviour. If you wish to use our filters with Woocommerce [products] shortcode, please register all pages with filterable shortcodes in annasta Filters > Plugin settings > Shortcodes pages.

    If it’s none of the above and the problem persists, please send us the link to your dev site, or otherwise elaborate on the problem so that we could try to help you!

    Thread Starter Arun Kumar

    (@procontentxyz)

    I have renamed shop page to “browse”

    Is this causing this issue?

    If yes. How can i rename shop page that this become comp. With the plugin.

    Please help

    Thread Starter Arun Kumar

    (@procontentxyz)

    See, i have now change shop page name to Shop & slug to ‘shop’

    Posts page set to custom blog page.

    Its still not worked out:

    See:

    https://lockunlock.me/ (shop as frontpage)

    https://lockunlock.me/blog

    Same content on both pages

    Please help

    • This reply was modified 3 years, 3 months ago by Arun Kumar.
    Plugin Author annastaa

    (@annastaa)

    Hello Arun,

    Thank you for your explanation! We have looked into your report, could you please confirm that the issue only concerns the WordPress page set in Settings > Reading > Your homepage displays > A static page > Posts page?

    We have found a solution to this problem, and it will be added to the next plugin release that is due to appear by the end of September. Please contact us via our contact form if you wish to introduce an immediate fix to your site manually.

    Thread Starter Arun Kumar

    (@procontentxyz)

    Yes dear.

    This issue happens when, Settings > Reading > Your homepage displays > A static page > Posts page

    Please provide me a immediate fix that i can do to resolve this issue till update comes.

    • This reply was modified 3 years, 3 months ago by Arun Kumar.
    Plugin Author annastaa

    (@annastaa)

    Arun,

    If you are comfortable with editing a line of PHP code, use your WordPress Plugin editor/ FTP/ whatever other way you have in your disposal to open the ..wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php file, go to line 481 (plugin version 1.4.6) that reads:

    if( ! empty( $this->shop_on_frontpage ) && $query->is_home() || (int) $this->is_wp_page === $this->shop_page_id ) {

    and replace it with the following code:

    if( ! empty( $this->shop_on_frontpage ) && ( $query->is_home() && ! (bool) $query->is_posts_page ) || (int) $this->is_wp_page === $this->shop_page_id ) {

    Please contact us via our contact form if you need assistance with this procedure!

    Thread Starter Arun Kumar

    (@procontentxyz)

    Dear sir/mam,

    Above code got updated??? In thr plugin

    I am eagerly waiting for update

    Plugin Author annastaa

    (@annastaa)

    Hello Arun,

    Forgive the late reply: for some reason WordPress just doesn’t want to send us new message notifications for this particular thread.. We are preparing new release these days, and yes, the fix that was discussed here will be included in the new version, so please just give it a few more days!

    Plugin Author annastaa

    (@annastaa)

    Dear Arun,

    I hope your issue got resolved by version 1.4.7 of our plugin, so I will close this. Please don’t hesitate to reopen the thread, or start a new one if you face any further problems with your static posts page!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘All pages show shop page, after we set Shop as static homepage’ is closed to new replies.