Home › Forums › WoodMart support forum › WooCommerce variations not showing in single product page
WooCommerce variations not showing in single product page
- This topic has 8 replies, 2 voices, and was last updated 5 months, 2 weeks ago by Hung Pham.
-
AuthorPosts
-
June 25, 2024 at 5:39 am #575132
josh-6874ParticipantI 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.June 25, 2024 at 12:05 pm #575284
Hung PhamKeymasterHi 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,
June 26, 2024 at 4:19 am #575499
josh-6874ParticipantI 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.June 26, 2024 at 9:08 am #575518
Hung PhamKeymasterHi josh-6874,
Would you mind if I deactivate extra plugins for testing? Please confirm me back.
Regards,
June 26, 2024 at 9:25 am #575535
josh-6874ParticipantPlease, go ahead. Besure to reactivate the plugins on your way out. Thanks.
June 26, 2024 at 1:09 pm #575630
Hung PhamKeymasterHi 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 addProduct add to cart
element to Custom layout to display variations – I included all screenshots in Private section.Regards,
June 27, 2024 at 10:22 am #575839
josh-6874ParticipantI 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.June 28, 2024 at 8:00 am #576092
josh-6874ParticipantIs 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.
June 28, 2024 at 7:11 pm #576304
Hung PhamKeymasterHi 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,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register