Variation not working
-
Hi, I’m facing a strange issue. I added a few attributes and selected the type as “label” because I want my customers to see them on the product page, I don’t want them to select the variation in a dropdown menu. Now, the problem is that when I select one of the labels/variations, such as “pack of 2,” and click “Buy Now,” the page loads, and then it shows no product in the cart . I don’t know why. Please check the link below. You’ll understand what I’m talking about. Just select one option and click “Buy Now.”
-
my status report
### WordPress Environment ###
WordPress address (URL): https://harshaymart.com
Site address (URL): https://harshaymart.com
WC Version: 9.3.3
Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
Action Scheduler Version: ? 3.8.1
Log Directory Writable: ?
WP Version: 6.6.2
WP Multisite: –
WP Memory Limit: 4 GB
WP Debug Mode: –
WP Cron: ?
Language: en_US
External object cache: –
### Server Environment ###
Server Info: LiteSpeed
PHP Version: 8.0.30
PHP Post Max Size: 128 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.68.0
OpenSSL/1.1.1f
SUHOSIN Installed: –
MySQL Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
Max Upload Size: 128 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?
### Database ###
WC Database Version: 9.3.3
WC Database Prefix: wp_
Total Database Size: 49.93MB
Database Data Size: 45.36MB
Database Index Size: 4.57MB
wp_woocommerce_sessions: Data: 4.02MB + Index: 0.13MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 0.19MB + Index: 0.20MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 0.14MB + Index: 0.13MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_ff_scheduled_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_entry_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_form_analytics: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_submission_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_options: Data: 4.09MB + Index: 0.14MB + Engine InnoDB
wp_postmeta: Data: 13.50MB + Index: 1.92MB + Engine InnoDB
wp_posts: Data: 20.28MB + Index: 0.36MB + Engine InnoDB
wp_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.11MB + Engine InnoDB
wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woostify_attribute_index: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woostify_category_index: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woostify_filter_index: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
wp_woostify_product_index: Data: 1.52MB + Index: 0.02MB + Engine InnoDB
wp_woostify_sku_index: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woostify_tag_index: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woostify_tax_index: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
### Post Type Counts ###
attachment: 1106
callback: 1
custom_css: 3
customize_changeset: 20
elementor_library: 14
hf_builder: 2
mega_menu: 11
nav_menu_item: 53
page: 23
post: 9
product: 306
product_filter: 10
product_variation: 31
revision: 218
shop_order_placehold: 5
size_guide: 1
wa-order-numbers: 1
wpcf7_contact_form: 1
### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?
### Active Plugins (16) ###
Classic Editor: by WordPress Contributors – 1.6.5
Contact Form 7: by Takayuki Miyoshi – 5.9.8
Devsol Woocommerce Checkout - Pakistan: by Devsol – 1.1.1
Elementor: by Elementor.com – 3.24.6
Essential Addons for Elementor: by WPDeveloper – 6.0.7
Fluent Forms: by Contact Form - WPManageNinja LLC – 5.2.4
LiteSpeed Cache: by LiteSpeed Technologies – 6.5.1
Meta pixel for WordPress: by Facebook – 4.0.1
Really Simple Security: by Really Simple Security – 9.0.2
Templately: by Templately – 3.1.6
Checkout Field Editor for WooCommerce: by ThemeHigh – 2.0.4
WooCommerce: by Automattic – 9.3.3
Woostify Pro: by Woostify – 1.8.2
Woostify Sites Library: by Woostify – 1.4.9
WPvivid Backup Plugin: by WPvivid Team – 0.9.106
YITH WooCommerce Wishlist: by YITH – 3.38.0
### Inactive Plugins (1) ###
OneClick Chat to Order: by Walter Pinem – 1.0.7
### Settings ###
Legacy API Enabled: –
Force SSL: –
Currency: PKR (?)
Currency Position: left_space
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 0
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)
Connected to WooCommerce.com: –
Enforce Approved Product Download Directories: ?
HPOS feature enabled: ?
Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
HPOS data sync enabled: –
### Logging ###
Enabled: ?
Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
Retention period: 30 days
Level threshold: –
Log directory size: 30 KB
### WC Pages ###
Shop base: #7 - /shop/
Cart: #8 - /cart/ - Contains the woocommerce/cart block
Checkout: #4094 - /checkout/ - Contains the [woocommerce_checkout] shortcode
My account: #10 - /my-account/
Terms and conditions: ? Page not set
### Theme ###
Name: Woostify
Version: 2.3.6
Author URL: https://woostify.com/about
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
WooCommerce Support: ?
### Templates ###
Overrides: woostify/woocommerce/loop/result-count.php
woostify/woocommerce/single-product/stock.php
### Admin ###
Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customize-store
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
pattern-toolkit-full-composability
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
printful
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
launch-your-store
Disabled Features: experimental-blocks
minified-js
product-pre-publish-modal
settings
async-product-editor-category-field
product-editor-template-system
blueprint
reactify-classic-payments-settings
Daily Cron: ? Next scheduled: 2024-10-11 14:51:16 +00:00
Options: ?
Notes: 63
Onboarding: skipped
### Action Scheduler ###
Complete: 517
Oldest: 2024-09-30 14:52:18 +0000
Newest: 2024-10-10 15:16:05 +0000
Failed: 1
Oldest: 2024-09-30 14:56:20 +0000
Newest: 2024-09-30 14:56:20 +0000
Pending: 1
Oldest: 2024-10-11 15:16:05 +0000
Newest: 2024-10-11 15:16:05 +0000
### Status report information ###
Generated at: 2024-10-10 21:11:19 +00:00- This reply was modified 1 month, 1 week ago by maazkhattak67.
- This reply was modified 1 month, 1 week ago by maazkhattak67.
Hello maazkhattak67,
Thank you for contacting WooCommerce support.
I visited your site and went through the checkout process.
Everything worked as expected without any issues on my end.Could you please share some screenshots or, if possible, a video demonstrating the issue you’re experiencing? This will help me better understand the situation and assist you more effectively.
Looking forward to your response. ??
Hi @maazkhattak67! We haven’t heard from you in a while, so it’s unclear if you’re still experiencing this issue.
From your explanation, it sounds like you’re adding attributes to a Simple product to add additional information. Indeed, when I visit that product page, and click the Additional Information tab below the image and add to cart button, I can see it there.
However, I see something also adds them to the “deals” section at the top, where they inadvertently behave like a variable product. When I right-click on that page and select Inspect > Console, and then select one of the options before clicking Add to cart, it works (product appears in the cart), but it also triggers a few 403 errors. One of which indicates the source as “woostify” – I see you have 2 Woostify plugins and the Woostify theme installed on your site.
In light of the above I suggest you start by either making a backup of your site or setting up a staging site, followed by disabling the Woostify plugins and temporarily switching the theme to a standard one like Storefront Theme. Then test to see if you can still recreate the issue.
Let us know what you find.
- You must be logged in to reply to this topic.