• Resolved Garry

    (@mrgarry05)


    I Tried This Plugin, But It isn’t Working for Me.. After Activating Plugin , I Can See Variable Product Option In A Dropdown ‘Thing’ But When I tried to Click Variable Selection (option) It just Work Like an Default “Select Option” Button. I Check My site On Chrome, Firefox, Safari, Opera it isn’t working …. But on IE it seems working Fine

    Even I tried Many Many Themes, it isn’t work on any of them. I Already Emailed my wordpress login details to Developers Of This Plugin , Hope they will check Whats Wrong With IT
    Thanks

    https://www.ads-software.com/plugins/woocommerce-ajax-add-to-cart-for-variable-products/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter Garry

    (@mrgarry05)

    My site is => wwww.mybestfruit.com

    Thread Starter Garry

    (@mrgarry05)

    I Disabled, Plugin and can still see option tab in all browsers’ which is working fine in IE

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi,

    I checked on your website.

    https://www.mybestfruit.com/?product=variable-product-2

    Plugin is working fine and product is adding through ajax and product is adding to cart properly.

    Let me know what is issue with it.

    Thread Starter Garry

    (@mrgarry05)

    Update— Actually plugin was Disable at time you check and I was using the method which was mention in ‘Techstack’ blog by recreators
    please check it now as i enable plugin and move to different Theme or you can say with all default settings

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi,

    I checked in again on same link : https://www.mybestfruit.com/?product=variable-product-2

    Plugin works fine and adding product with variation to cart. What i get is your top mini cart is not updating, you need to find how that is added in theme. Apart from that top mini part everything else is working.

    Also the article you specified is also written by me ( Rcreators ), it is 10 months older and as per it, you need to edit core files. After some dig i found that it is possible to do by custom plugin and so i created this one. But as themes are created by many developers and there is no standard classes developers uses for mini cart, so its quite difficult to make global feature for same.

    So look into your theme code how top cart-item is coming there and you just need to push update html for same in jquery. Let me know if you are unable to solve it. Also make sure you finalize your theme before that. so you can test with your final theme. Cause code will vary based on theme you use.

    Thread Starter Garry

    (@mrgarry05)

    oops… Sorry’ my fault
    I thought This plugin is for different purpose’ Actually what i want is to show variable options on shop page under products so that visitor don’t have to visit Product Description Page,
    Interesting Thing Is when i do customization with theme function.php file by Adding below code I can see Those Options under products on shop page

    here is that code :-

    if ( ! function_exists( ‘woocommerce_template_loop_add_to_cart’ ) ) {
    function woocommerce_template_loop_add_to_cart() {
    global $product;

    if ($product->product_type == “variable” ) {
    woocommerce_variable_add_to_cart();
    }
    else {
    woocommerce_get_template( ‘loop/add-to-cart.php’ );
    }
    }
    }
    And,
    Here is link of Screenshot https://www.mybestfruit.com/wp-content/uploads/2014/12/Screenshot-36.jpg when plugin is Disable but above code is in functions.php file And This is Screenshot https://www.mybestfruit.com/wp-content/uploads/2014/12/Screenshot-37.png”> When Above Code is Removed From Theme Function.php file

    But When i Click Color options in First Screenshot It Works, but Page Reloads suddenly And Take me To Product Description Page, but same function works fine when I use Default wordpress Theme i.e, Thirteen- Fourteen ( Default Theme Screenshot https://www.mybestfruit.com/wp-content/uploads/2014/12/Screenshot-38.png Please Check All the ScreenShots

    Most Interesting thing is I Checked All This In All Browsers, include ( Chrome, Mozilla, Opera, Safari, IE ) and it works fine in IE on Whatever Theme I Use but not on any other browser

    Thank you

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi,

    First you don’t need to add that code in your theme, we already have this added in our plugin, you only need to tick option from setting. you will get setting here. Tick setting and you will get selection option on any theme.

    https://www.mybestfruit.com/wp-admin/admin.php?page=wc-settings&tab=products&section=wc_ajax_add_to_cart_variable

    Now about redirection after selection, it can be possible cause of active theme javascript. First finalize you theme, activate option and than check if its working or not, than if not working let me know. i will check for particular theme and give you best solution for same.

    Thread Starter Garry

    (@mrgarry05)

    I Already Finalize DIVI theme sometimes just swipe theme to test something, and ‘Thanks’ i Can See Options With Just Help Of Plugin ( I Never Noticed That New Tab In Settings ) But Still It Is Working Fine with IE but not with Chrome or Mozilla just Auto Reloading

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi,

    I look into code, its quite simple issue in theme, variable options are coming in link. LIke Variation form is coming into link of product detail page. so when you try to select variable option, it directly take you to detail page.

    What you have to do now is, go to your theme directory -> woocommerce -> content-product.php

    Check code and complete link tag after price one. Or you can say, you can complete a link after first hook “<?php do_action( ‘woocommerce_before_shop_loop_item_title’ ); ?>”

    That’s it.

    Thread Starter Garry

    (@mrgarry05)

    sorry, Mate I didn’t find any file like content-product.php , I can Provide you my wordpress login details via email if you don’t mind to do it

    Thread Starter Garry

    (@mrgarry05)

    ok i checked here=> /wp-content/themes/(my current theme) and there is no wordpress folder hence no content-product.php file

    Thread Starter Garry

    (@mrgarry05)

    Anybody.. Here To Help Me’ ??

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi,

    You need to find out file as i described or if you bought the theme, ask theme developer to inform where they put content-product.php file.

    1) First as per your comment above, you are checking wrong name. I Wrote to check woocommerce folder not wordpress folder.

    2) Again, its issue with theme, your theme is customize some other way, so there is minor change you need to do in content-product.php file or where ever that code is in your theme. AS theme is premium theme, i cannot provide support for same. For this if you are not getting where its lined up in code, you need to ask theme developer for same.

    Plugin is made for themes which follows woocommerce default classes and structure. So if any theme customized that and plugin is not working, than you need to cross check with theme developer. Still i am pointing what is issue and from where you can solve with a detailed description. After that if you cannot make it from your side, i advice you to ask about same code from theme developer. If you bought this premium theme, they will help better than me as they are creator of theme and they know which code is placed where better than me.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Its Not Working'’ is closed to new replies.