Home Forums WoodMart support forum WooCommerce variations not showing in single product page

WooCommerce variations not showing in single product page

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #575132

    josh-6874
    Participant

    I have defined variable products under WooCommerce but they are not showing in single product page in the form of dropdown list.

    Attachments:
    You must be logged in to view attached files.
    #575284

    Hung Pham
    Keymaster

    Hi josh-6874,

    Thanks for reaching to us.

    You need to put price to variations, please see screenshot in private section.

    Also, I noticed that when I tried to put price and hit the save Update button, but it returned 0. Try below methods to fix it:

    – You should deactivate all plugins (except Required Plugins) and then reactivate them one by one. This makes it very easy to isolate the plugin causing problems.

    – It is usually a problem with the PHP max input vars limit. It simply can’t process a large amount of data when you save the menu. Try to contact your hosting provider and ask to increase this parameter.

    Regards,

    #575499

    josh-6874
    Participant

    I saved price for all variations with success, but the variations still do not appear in the single product page.
    I tried with other products with variations but the symptom is the same. (I am sharing an URL for another product with variations for reference.)
    I have no issues with saving/updating the post. Thanks anyway for pointing it out.
    Would there be an issue with the single product page template? Please review my configurations.

    #575518

    Hung Pham
    Keymaster

    Hi josh-6874,

    Would you mind if I deactivate extra plugins for testing? Please confirm me back.

    Regards,

    #575535

    josh-6874
    Participant

    Please, go ahead. Besure to reactivate the plugins on your way out. Thanks.

    #575630

    Hung Pham
    Keymaster

    Hi josh-6874,

    Thanks for your confirmation.

    1. I checked your site and there are no terms of Models attribute, so I added new one for testing.

    2. You enabled Catalogue mode in Theme Settings > Shop > Shop, which should be disabled and you need to add Product add to cart element to Custom layout to display variations – I included all screenshots in Private section.

    Regards,

    #575839

    josh-6874
    Participant

    I now understand that the variations are only visible when add to cart element is enabled. I added the code to functions.php and hid the quantity and add to cart button manually to fulfill my need.
    remove_action( 'woocommerce_single_variation','woocommerce_single_variation_add_to_cart_button', 20 );
    Thanks.

    #576092

    josh-6874
    Participant

    Is there a way to display variations dropdown menu in catalog mode? It is essential that my website be in catalog mode at all times, but I cannot disable it only because I cannot display the variations in single product page. Is there a way to forcibly display this independently from add to cart element, possibly via functions.php?

    • This reply was modified 5 months, 3 weeks ago by josh-6874.
    #576304

    Hung Pham
    Keymaster

    Hi josh-6874,

    Unfortunately, there is no such an options right now. For specialized assistance and potential solutions, I kindly suggest that you reach out directly to the WooCommerce plugin’s support team https://wordpress.org/support/plugin/woocommerce/, who are better equipped to provide you with the guidance you requires or You need to find a third party plugin to achieve more functionality that best suits you.

    Regards,

Viewing 9 posts - 1 through 9 (of 9 total)