WooCommerce Product Options issue
-
I’m setting up a WooCommerce store and I seem to have an issue.
When choosing a products colour and size it sill doesn’t let you add it to the cart. Not sure if I’ve done something wrong.
Can anyone help?
The page I need help with: [log in to see the link]
-
Hi @willas00,
Thank you for reaching out.
I visited your site and was able to replicate this issue from my end.
However, looking at the site, it is possible that the product variations (like price, color and size) are not properly set up. Please confirm that your product variations are properly set as described in this guide. Ensure that for each product, you’ve created the necessary variations and that each variation has a price. If they don’t have a price, they won’t be considered available for purchase and thus, can’t be added to the cart.
Please try this and let us know how it goes.
Thanks I’ll try looking again on my laptop, just tried on my phone and still have the issue on all products so I must be doing something wrong.
Hi @willas00,
Thanks I’ll try looking again on my laptop, just tried on my phone and still have the issue on all products so I must be doing something wrong.
Sounds like a plan, you can always refer to the shared guide on how to create product variations and let us know if you have any question or need further assistance.
Cheers.
Still can’t see where I’ve gone wrong.
I’ve added some screenshots if it helps?
https://store.gx06dyw.org.uk/wp-content/uploads/2024/10/Screenshot-2024-10-01-at-19.55.43.png
https://store.gx06dyw.org.uk/wp-content/uploads/2024/10/Screenshot-2024-10-01-at-19.56.56.png
https://store.gx06dyw.org.uk/wp-content/uploads/2024/10/Screenshot-2024-10-01-at-19.56.57.png
https://store.gx06dyw.org.uk/wp-content/uploads/2024/10/Screenshot-2024-10-01-at-19.57.14.png
I’ve fixed it. Faulty plugin.
However for some reason local pickup which is set to free won’t offer it free and just selects a paid postage?
Hey @willas00 ,
Glad to hear you managed to find the culprit!
However for some reason local pickup which is set to free won’t offer it free and just selects a paid postage?
Hmm, checking your site, I see what you mean:
Can you please share a screenshot of the following areas, so that we can take a closer look at your current shipping and local pickup configuration:
- WooCommerce → Settings → Shipping → Local pickup
- WooCommerce → Settings → Shipping → Shipping Zones
If you don’t already have a screenshot tool installed, Snipboard.io can be used for easily sharing screenshots. Please follow the instructions on that page, then paste the URL in your reply here.
Cheers!
Hey @willas00 ,
It looks like those screenshots are no longer available:
Can you please share those with us again so that we can take a closer look at your current shipping settings.
Thanks!
Hello willas00,
Thank you for your reply.
I visited your site and noticed a JS error when I chose the Local Pickup option.
This error is commonly caused by either a caching plugin or a conflict of code in plugins or the active theme.To help you further, I’d like to understand more about your setup.
Could you please send me a copy of your site’s System Status Report?
You can find it via WooCommerce > Status.
Select Get system report and then Copy for support.
Once you’ve done that, you can paste the text in here using the “<code>” block.Looking forward to your response. ??
<br>### WordPress Environment ###<br><br>WordPress address (URL): https://store.gx06dyw.org.uk<br>Site address (URL): https://store.gx06dyw.org.uk<br>WC Version: 9.3.3<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.8.1<br>Log Directory Writable: ?<br>WP Version: 6.6.2<br>WP Multisite: –<br>WP Memory Limit: 1 GB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: –<br><br>### Server Environment ###<br><br>Server Info: LiteSpeed<br>PHP Version: 7.4.33<br>PHP Post Max Size: 0 B<br>PHP Time Limit: 180<br>PHP Max Input Vars: 3000<br>cURL Version: 7.87.0<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 5.5.5-10.11.9-MariaDB-cll-lve<br>Max Upload Size: 0 B<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ?<br><br>### Database ###<br><br>WC Database Version: 9.3.3<br>WC Database Prefix: wpdy_<br>Total Database Size: 18.24MB<br>Database Data Size: 14.78MB<br>Database Index Size: 3.46MB<br>wpdy_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpdy_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpdy_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wpdy_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_actionscheduler_actions: Data: 0.30MB + Index: 0.38MB + Engine InnoDB<br>wpdy_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_actionscheduler_logs: Data: 0.23MB + Index: 0.19MB + Engine InnoDB<br>wpdy_burst_browsers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_burst_browser_versions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_burst_devices: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_burst_goals: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_burst_goal_statistics: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_burst_platforms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_burst_sessions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>wpdy_burst_statistics: Data: 0.14MB + Index: 0.11MB + Engine InnoDB<br>wpdy_burst_summary: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>wpdy_cartflows_ca_cart_abandonment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_cmplz_dnsmpd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wpdy_cr_reminders_log: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wpdy_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpdy_lead_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_lead_form_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_lead_form_extension: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_lead_form_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_options: Data: 7.44MB + Index: 0.16MB + Engine InnoDB<br>wpdy_postmeta: Data: 2.25MB + Index: 0.31MB + Engine InnoDB<br>wpdy_posts: Data: 2.30MB + Index: 0.06MB + Engine InnoDB<br>wpdy_termmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wpdy_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_th_popup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_trackship_shipment: Data: 0.02MB + Index: 0.20MB + Engine InnoDB<br>wpdy_trackship_shipment_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_trackship_shipping_provider: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wpdy_usermeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB<br>wpdy_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wpdy_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wpdy_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wpdy_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wpdy_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpdy_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wpdy_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wpdy_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_wc_product_attributes_lookup: Data: 0.09MB + Index: 0.08MB + Engine InnoDB<br>wpdy_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wpdy_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_woo_shippment_provider: Data: 0.14MB + Index: 0.00MB + Engine InnoDB<br>wpdy_wppb: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdy_wpr_image_optimization: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdy_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wpdy_zorem_email_sms_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br><br>### Post Type Counts ###<br><br>attachment: 24<br>custom_css: 7<br>customize_changeset: 29<br>elementor_library: 7<br>nav_menu_item: 22<br>order_status: 2<br>page: 11<br>post: 6<br>product: 20<br>product_variation: 56<br>pscw-size-chart: 6<br>revision: 59<br>shop_coupon: 1<br>shop_order: 10<br>ufaq: 6<br>viwec_template: 14<br>wc_afrsm: 2<br>wp_block: 1<br>wp_global_styles: 4<br>wp_navigation: 1<br>wp_template: 5<br>wp_template_part: 2<br>yaymail_template: 12<br><br>### Security ###<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ?<br><br>### Active Plugins (33) ###<br><br>Starter Templates: by Brainstorm Force – 4.4.3<br>Custom Order Status Manager for WooCommerce: by Bright Plugins – 1.1.3.2<br>Burst Statistics - Privacy-Friendly Analytics for WordPress: by Burst Statistics - Stats & Analytics for WordPress – 1.7.2<br>Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 7.1.0<br>Complianz - Terms and Conditions: by Really Simple Plugins – 1.2.8<br>Customer Reviews for WooCommerce: by CusRev – 5.60.2<br>Facebook for WooCommerce: by Facebook – 3.2.10<br>Favicon by RealFaviconGenerator: by Philippe Bernard – 1.3.35<br>Font Awesome: by Font Awesome – 4.5.0<br>Header Footer Code Manager: by DraftPress – 1.1.39<br>Hide Titles: by Mehraz Morshed – 1.7.14<br>Jetpack: by Automattic – 13.9<br>LoginPress: by LoginPress – 3.2.0<br>Microsoft Clarity: by Microsoft – 0.10.2<br>Minimal Coming Soon & Maintenance Mode: by WebFactory Ltd – 2.39<br>Mollie Payments for WooCommerce: by Mollie – 7.8.0<br>Really Simple Security: by Really Simple Security – 9.0.2<br>REVIEWS.io for WooCommerce: by Reviews.co.uk – 1.3.8<br>Trustpilot-reviews: by Trustpilot – 2.5.927<br>Spectra: by Brainstorm Force – 2.15.3<br>Ultimate FAQ Accordion Plugin: by Etoile Web Design – 2.3.0<br>WC Multiple Email Recipients: by Con Schneider – 1.4.1<br>Advanced Shipment Tracking for WooCommerce: by zorem – 3.6.9<br>WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.3.0<br>Variation Swatches for WooCommerce: by RadiusTheme – 2.3.16<br>WooCommerce.com Update Manager: by Automattic – 1.0.3<br>Additional Variation Images Gallery for WooCommerce: by Emran Ahmed – 1.3.25<br>PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.6<br>WooCommerce: by Automattic – 9.3.3<br>YayMail - WooCommerce Email Customizer: by YayCommerce – 3.5.5<br>YITH WooCommerce Compare: by YITH – 2.43.0<br>YITH WooCommerce Quick View: by YITH – 1.43.0<br>YITH WooCommerce Wishlist: by YITH – 3.38.0<br><br>### Inactive Plugins (0) ###<br><br><br>### Dropin Plugins () ###<br><br>maintenance.php: maintenance.php<br><br>### Settings ###<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: GBP (£)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: ?<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: –<br><br>### Logging ###<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 185 KB<br><br>### WC Pages ###<br><br>Shop base: #3604 - /shop/<br>Cart: #3605 - /cart/ - Contains the [woocommerce_cart] shortcode<br>Checkout: #3606 - /checkout/ - Contains the [woocommerce_checkout] shortcode<br>My account: #3607 - /my-account/<br>Terms and conditions: ? Page not set<br><br>### Theme ###<br><br>Name: Astra<br>Version: 4.8.2 (update to version 4.8.3 is available)<br>Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme<br>Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme<br>WooCommerce Support: ?<br><br>### Templates ###<br><br>Overrides: /home/gxdyworg/store.gx06dyw.org.uk/wp-content/plugins/woo-variation-gallery/templates/product-images.php<br>/home/gxdyworg/store.gx06dyw.org.uk/wp-content/plugins/woo-variation-gallery/templates/product-thumbnails.php<br><br><br>### Admin ###<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br><br>Daily Cron: ? Next scheduled: 2024-10-10 11:05:16 +00:00<br>Options: ?<br>Notes: 69<br>Onboarding: completed<br><br>### Action Scheduler ###<br><br>Complete: 922<br>Oldest: 2024-09-08 13:56:04 +0000<br>Newest: 2024-10-09 13:08:53 +0000<br><br>Failed: 19<br>Oldest: 2023-08-25 11:07:32 +0000<br>Newest: 2024-10-01 14:07:12 +0000<br><br>Pending: 3<br>Oldest: 2024-10-10 00:08:58 +0000<br>Newest: 2024-10-14 00:05:58 +0000<br><br><br>### Status report information ###<br><br>Generated at: 2024-10-09 13:52:17 +00:00<br>
Hello willas00,
Thank you for sharing more information.
I checked your site’s System Status Report and I do not see anything odd.
I revisited your site and noticed that a JavaScript error is occurring consistently whenever JavaScript is triggered, such as when clicking the Quick View button. This could be due to a conflict with one of the plugins or the active theme.
To identify the source of the issue, I recommend conducting a conflict test.
Let me know what you discover after running the test.Best regards
Hi,
After much searcing I found the culprit to be another script
<!-- Not required if jQuery is already loaded -->
<script src="https://helpdesk.gx06dyw.org.uk/js/min/jquery.min.js"></script>
<script id="sbinit" src="https://helpdesk.gx06dyw.org.uk/js/main.js"></script>Removing this from the cart page makes it work.
- You must be logged in to reply to this topic.