Support » Plugin: Pods - Custom Content Types and Fields » Woocommerce Shop Page Bug

  • Resolved bling007

    (@bling007)


    The 2.8.3+ updates are all resulting in Woocommerce Shop page without any product archives.

    The latest 2.8.6 is on the same lines. Only pagination is visible. Products are not populating at all!

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @bling007

    Did you clear your cache? It sounds like a bug that has been fixed in the latest release regarding extended post types.

    Cheers, Jory

    Thread Starter bling007

    (@bling007)

    Yes, I have cleared all caches. Infact the category pages were not showing products until I extended the Product_Cat to include post-type = product.

    It is weird I had to do that because Woocommerce has it by default.

    I simply wanted to extend the product_cat and introduce a meta field for the categories.

    After including post-type to products, I believe the products started appearing.

    However the same is not true for the Shop page.

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @bling007

    I cannot reproduce the issue by doing to following:
    – created a new installation
    – installed WooCommerce and Pods
    – added Woo sample products
    – extended product categories (without fields)

    Shop page simply shows products.

    What am I missing?
    Could you share your Pod by exporting is through the Migrate Packages component?

    Cheers, Jory

    Hi, I had the same problem in previous versions and I confirm that it is fixed in the latest version (2.8.6).

    however really, you must clear the Pods cache, which is in the Pods admin section.

    Thread Starter bling007

    (@bling007)

    Error on updating to 2.8.6

    Error Details
    =============
    An error of type E_ERROR was caused in line 3 of the file /var/www/html/wp-content/plugins/pods/ui/admin/settings-settings.php. Error message: Uncaught Error: Call to undefined function pods_form_enqueue_style() in /var/www/html/wp-content/plugins/pods/ui/admin/settings-settings.php:3
    Stack trace:
    #0 /var/www/html/wp-content/plugins/pods/classes/PodsView.php(527): require()
    #1 /var/www/html/wp-content/plugins/pods/classes/PodsView.php(118): PodsView::get_template_part(‘/var/www/html/w…’, NULL)
    #2 /var/www/html/wp-content/plugins/pods/includes/classes.php(207): PodsView::view(‘/var/www/html/w…’, NULL, false, ‘cache’)
    #3 /var/www/html/wp-content/plugins/pods/ui/admin/settings.php(63): pods_view(‘/var/www/html/w…’)
    #4 /var/www/html/wp-content/plugins/pods/classes/PodsView.php(527): require(‘/var/www/html/w…’)
    #5 /var/www/html/wp-content/plugins/pods/classes/PodsView.php(118): PodsView::get_template_part(‘/var/www/html/w…’, Array)
    #6 /var/www/html/wp-content/plugins/pods/includes/classes.php(207): PodsView::view(‘/var/www/html/w…’, Array, false, ‘cache’)
    #7 /var/www/html/wp-content/plugins/pods/classes/PodsAdmin.php(1880): pods_view(‘/var/ww

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    @bling007 Double check your Pods was updated correctly, you may need to reinstall it as it looks like some files have not been updated with all 2.8.6 related code.

    You can get the ZIP here and manually upload it again, it will prompt you to overwrite the plugin and that’s what you want to do — https://downloads.wordpress.org/plugin/pods.2.8.6.zip

    The error you see there is happening because it’s calling a function that isn’t getting defined in /pods/includes/forms.php because it looks like the file is from a different version of Pods possibly.

    Thread Starter bling007

    (@bling007)

    Done. It fixed the issue with settings page ui.

    Same is not true for Shop Page. All cache cleared. Only pagination is visible.

    Mind you, it happens only after updating pods from 2.8.3 to 2.8.6

    I have not been updating because 2.8.4/5 both resulted in same behavior.

    Thread Starter bling007

    (@bling007)

    Alright here’s the deal:

    I enabled DEBUG in wp-config and trace errors and found none. Check the query monitor plugin too. Got nothing.

    Not sure how else to give you context.

    It is misdirecting the shop page to the blog page <<< that is all I have. I can tell because of the sidebars beings used.

    Thread Starter bling007

    (@bling007)

    {
    “meta”: {
    “version”: “2.8.6”,
    “build”: 1638377333
    },
    “pods”: [
    {
    “name”: “product_cat”,
    “id”: 2228380,
    “label”: “Categories”,
    “description”: “Product Categories”,
    “type”: “taxonomy”,
    “storage”: “meta”,
    “object”: “product_cat”,
    “_migrated_28”: “1”,
    “label_singular”: “Category”,
    “built_in_post_types_product”: “1”,
    “public”: “1”,
    “hierarchical”: “1”,
    “groups”: [
    {
    “name”: “more_fields”,
    “id”: 2228381,
    “label”: “More Fields”,
    “description”: “”,
    “weight”: 0,
    “fields”: [
    {
    “name”: “browse_node”,
    “id”: 2228382,
    “label”: “Browse Node”,
    “description”: “ASIN Creation Browse Node”,
    “weight”: 0,
    “type”: “text”,
    “sister_id”: “– Select One –“,
    “required”: “0”,
    “text_allowed_html_tags”: “strong em a ul ol li b i”,
    “text_max_length”: “255”,
    “roles_allowed”: “administrator”,
    “rest_pick_response”: “array”,
    “rest_pick_depth”: “1”
    }
    ]
    }
    ]
    }
    ]
    }

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    What happens when you go to Pods Admin > Settings > Clear Pods Cache or go to Settings > Permalinks > Save Changes?

    If you have time and can hop onto our Slack I can help you further more quickly too.

    https://support.pods.io/chat/

    Thread Starter bling007

    (@bling007)

    That was the first thing I did on update! did not resolve.

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    Pods 2.8.7 just went out with another tweak here, when the time is comfortable for you — please test the update and confirm whether your problems are now resolved.

    We will continue to remain available as needed on our Live Community Slack Chat to help debug issues like this in the future.

    Thread Starter bling007

    (@bling007)

    Does not resolve the issue. The shop page is still emulating the blog page. Going back to 2.8.3 — my search is also broken.

    Thread Starter bling007

    (@bling007)

    Everything gets fixed rolling back to 2.8.3

    Why whould Shop page point to Blog page?!

    • This reply was modified 5 months, 3 weeks ago by bling007.
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @bling007

    No the shop page should be entirely managed by WooCommerce.
    Do you have a link we can check? The actual HTML output might tell us something.

    – Did you also extend the Products post type?
    – Or does your theme or a plugin create this custom post type by code?
    – When you go to WooCommerce > Settings > Products. is that page correctly defined as the Shop page?
    – If you go to Settings > Reading. Is the “Posts page” a different page?

    Cheers, Jory

    • This reply was modified 5 months, 3 weeks ago by Jory Hogeveen.
Viewing 15 replies - 1 through 15 (of 20 total)
  • You must be logged in to reply to this topic.