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
- Adding “Remember Me” in custom login
- Retrieve POST data from AJAX call
- The correct method to pass query vars in AJAX using ajaxurl
- Using wp_send_json to return HTML
- Conditionally loading JavaScript based on the Advanced Custom Fields in the post
- reason of splitting theme files to multiple files
- Redirect to Page after Post Submit
- How to change “Shipping Calculator “field label on Cart Page – woocommerce? [closed]
- Problem with Woocommerce REST API Authentication
- How to get custom image size for image uploaded in Customizer
- Constructing a custom login form using ajax
- How to add SVG icon above product tab title
- How to retrieve the content (with a specific ID) via ajax by clicking a link tag
- How to change / delete product short description in Woocommerce
- How to Fetch values from WP database based on selected option value by onchange using PHP?
- wp_insert_post() is returning the correct post ID, no failure, but the post content does not get updated
- Custom category code not showing all posts
- How do I get current page ID in WordPress customizer file?
- Customizer: Output default value in Customizer CSS
- WordPress does not load page.php, return 404.php
- Checking for new message using AJAX and PHP. Server overload?
- Converting HTML Template to WordPress Theme
- How to use my style.css file outside of wordpress subdomain?
- How can I apply_filters from inside a function?
- Pass Category Name, Description and Photo into variables to pass to jQuery
- Displaying Woocommerce Product Category in WordPress
- Populate editor with some content of a page with a page template
- Show success or error messages in Ajax response to WordPress custom registration form
- How to add a Custom Mailchimp AJAX Newsletter Subscribe Form
- Skt full width basic slideshow problem
- get_template_part() not firing within a switch statement when template has new WP_Query
- How to call multiple functions from multiple files into a WordPress page template [closed]
- What is the best way to define constant options for a theme?
- Use value from Ajax call in PHP function
- Only show size attributes in product box woocommerce when available
- A $_POST should occur when submit form but is not?
- Help Fallback (thumbnail)
- How do i wrap woocomerce attribute in list?
- Removing files programmatically
- Need advice on theme customizer and child themes
- How to make sure relative URL works when site is not on root domain?
- How to use wp_send_json() and output the value with ajax?
- Multiple AJAX handler functions conflict in functions.php
- How to change this ajax function to submit to the default wordpress content area instead of the custom field ‘seller notes’?
- Remove span tags from WooCommerce Downloads page
- Global variable doesnt’t pass to another function
- Edit woocommerce_product_archive_description using hook
- How to create loop inside wordpress function?
- Remove generated category and tag class names from woocommerce product & blog listings markup
- wordpress dependent dropdownlist using post type is not working
- Custom Post type Ajax search results
- Singleton in plugin fails on AJAX call (Plugin initialzed again)
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- Custom HTML form using PHP – help with ajax/username validation
- Use Custiomizer to setup meta theme color tag
- Where can I find the declaration of `$_wp_theme_features`?
- WordPress using get_term to retreive slug not working as expected
- Click to expand menu
- Display tab title as ‘blog tagline | blog title’
- Modify category archive page loop on functions.php
- AJAX & PHP | Call a specific PHP function from a PHP file via AJAX?
- Load php function with AJAX on modal window
- Order woo products, but first products must be with acf fields
- Upload multiple files via ajax from an HTML file input
- How to pass javascript var to php var