I was trying to fix this at the last 4 hours and I got it.
You need to change:
ajax_add_to_cart add_to_cart_button button
for this:
button product_type_variable add_to_cart_button on the follow archives:
wp-content/themes/tyche/inc/libraries/widgets/widget-tyche-products/view/layout-a.php
wp-content/themes/tyche/inc/libraries/widgets/widget-tyche-products/view/layout-b.php
wp-content/themes/tyche/inc/libraries/widgets/widget-tyche-products/view/layout-c.php
wp-content/themes/tyche/inc/libraries/widgets/widget-tyche-products/view/layout-d.php
Its located between lines 60~90. You need to change in every archive.
Sorry for my bad English.
Love the community, so helpful <3
Good lucky for all !
Related Posts:
- How to check if woocommerce is activated in theme
- Is having multiple theme customizers for different pages possible?
- Hide a menu-item and its submenus and display a ‘Log in’ link if the user is logged out
- Is the regular ajax request method safe or I should use admin-ajax.php?
- WooCommerce: update custom fields after checkout validation failure
- My Own layout in WooCommerce pages [closed]
- Why is this Ajax not working?
- How to make custom total price reactive in navigation
- How to prevent those PHP variables from being cached on WordPress?
- write custom woocommerce templates and forms
- Load a page into a div with Ajax
- Status 400 for AJAX POST Request with admin-ajax.php
- Problem with custom plugin using AJAX to pull info from php file
- Is it possible to intercept all ajax requests and get the parameters and the returns?
- populate form fields in a loop with ajax
- Change “add to cart” button color based on Woocommerce product category [closed]
- How to disable controls in theme customizer?
- How to remove woocommerce_breadcrumb() from do_action( ‘woocommerce_before_main_content’ ); [closed]
- Is there a hack for using is_page() within the function.php file?
- Ajax URLs without #!, how to prevent falling into single.php on load or reload?
- How to change PHP variables with AJAX request in WordPress
- Submit remote form to wordpress REST API and save data to custom post type
- Exclude category from woocommerce product category list
- WooCommerce REST API AJAX Auth – 401 response
- Change WooCommerce currency programmatically on AJAX request
- AJAX to add to cart multiple products woocommerce
- How to echo a PHP code into WooCommerce variation product?
- Custom theme admin-ajax.php 400 (Bad Request)
- How to send Ajax Call from frontend without using wp_localize_script in Theme
- Ajax Load More or View More functionality for woocommerce category layout by template overriding
- ACF | WooCommerce | Theme Development | How to include a /template-part/ that makes use of ACF’s on a custom WooCommerce homepage?
- Remove Woocommerce product from cart with ajax/fetch
- Woocommerce Convert existing order to the cart
- Woocommerce – Include custom user meta in order ‘filter by registered customer’ Ajax search
- WooCommerce Modal Fly cart on add to cart – With AJAX
- Woocommerce – how can i add items to cart using onclick – multiple items at once with custom prices
- WooCommerce Mini-Cart Problem
- Can’t search posts using WP_QUERY inside AJAX Function
- How do you add customer capability after Woocommerce purchase?
- Setting up 2 SMTP accounts: 1 for wordpress and 1 for woocommerce
- Change sign up fee in cart for subscription products WooCommerce
- Woocommerce add to cart quantity buttons with AJAX
- How can I use wp_query to show all product data using just the products ID?
- Adding country tags automatically
- Implement toggle switch for theme options in settings API
- Why is the post meta[] empty when I make a call to the wordpress rest api?
- combine Code 1 with Code 2
- WooCommerce – Reset quantity input field when variation changes
- Using a `Template Parts` folder instead of an `Includes` folder in a Custom WordPress Theme
- get current product name in functions.php
- class click counter save number
- Get stock by custom meta field on all Woocommerce variable products
- Make the first item as default on Woocommerce product category items list
- Custom Text in WooCommerce Order Processing Email Based on Products
- Woocommerce redirect thankyou page based on product ID doesn’t empty Cart
- Set a condition based on WooCommerce checkout city field while placing order
- Get WooCommerce product details and transfer them to a custom DB table
- woocommerce subscriptions – get expiration date [closed]
- Using a variable in is_page(array())
- tracking number field in Woocommerce order [closed]
- Trigger popup in a php if/else statement
- Anyway to output the registration form like the login form with wp_login_form()?
- How do I get current page ID in WordPress customizer file?
- Any possible way to make $wpdb->get_results() return anything else than array?
- Customizer: Output default value in Customizer CSS
- How to load a template-part based on a url wildcard?
- get post based on category chosen in drop down – The ajax method
- WordPress does not load page.php, return 404.php
- Why is $_REQUEST an empty array in admin-ajax.php?
- WooCommerce Related Products by Attribute
- Image as Sales Badge
- Checking for new message using AJAX and PHP. Server overload?
- How can i upload images in an admin page?
- Where to edit the template that is generating the code for dynamic_sidebar left-sidebar in the Understrap theme? [closed]
- AJAX request status 200 but no actual “response”
- get current custom post ID by WP_Query method
- WooCommerce – Email admin with new user details
- Multiple WordPress Menus that will only display all pages
- How to make drop down post title
- Ajax not working es expected (Returns 0)
- Set the checkbox as checked by default at options page
- Create onClick Event to Re-load a Widget
- Automatically remove a canceled order in Woocommerce
- Create another “Display Site Title and Tagline” checkbox, “Header Text Color” setting and control
- Add child pages of parent to navbar PHP
- How can I create a list of page titles from custom meta values?
- Creating a Multi-Level Associative Object Using AJAX
- Call global variable array() in woocommerce child/template
- Custom theme: Alternatives to long list of ‘include’ in functions.php
- Remove price from Woocommerce variable product dropdown menu
- Theme Options Page – User Updates Logo
- wordpress count link clicks by ip address
- Converting HTML Template to WordPress Theme
- How to use my style.css file outside of wordpress subdomain?
- Ajax – Call to undefined function get_option()
- Adding nofollow to a PHP generated Nav
- How to show part of the_content?
- Wp-login appears White Screen, Error: Cannot modify header information
- ajax, right way to do it and make it works?
- How to remove the cufon script from Dzonia Lite theme [closed]