Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter E-Smokey.nl

    (@e-smokeynl)

    Hi,

    The problem of the not showing prices, images etc. is solved.

    But the plugin is enabled now and doesn’t seem to work.

    Kind regards,

    Ronald

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi smokey,

    Was quite away in holiday seasons. I checked your given url, it’s not working Theme author changed woocommerce default classes and added own classes and buttons instead of it.

    You need to add “single_add_to_cart_button” class to your add to cart button. Than it will work for you.

    Thread Starter E-Smokey.nl

    (@e-smokeynl)

    Hi,

    I have no idea ho to do that. Can you tell me (exactly) how to do this?

    I am sorry, but this is my first Woocommerce site..

    Thanks

    Ronald

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi Ronald,

    Go to Below directory in you wordpress Theme.

    ThemeRoot ( Active theme Folder ) -> Woocommerce -> single-product -> add-to-cart -> Variable.php File

    Edit variable.php fine in your fav. code editor software.

    Find this class in code “anim_add_to_cart_button”.

    After getting this class add space and than add this text “single_add_to_cart_button”

    That’s it. you are done.

    Thread Starter E-Smokey.nl

    (@e-smokeynl)

    I feel very stupid, but all I can find is:

    if ( ! function_exists( ‘woocommerce_template_loop_add_to_cart’ ) ) { function woocommerce_template_loop_add_to_cart() { global $product; if ($product->product_type == “variable” && (is_product() || is_product_category() || is_product_tag())) { woocommerce_variable_add_to_cart (); } else { woocommerce_get_template( ‘loop/add-to-cart.php’ ); } } }

    Can I add it somewhere in this code?

    Thanks,

    Ronald

    Thread Starter E-Smokey.nl

    (@e-smokeynl)

    Hi,

    I found where to add the code and I did. But it’s still not working on the website. Any other settings I have to change?

    Thanks,

    Ronald

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi Ronald,

    You were just near to complete.

    What you did is this :
    <div id=”button-cart” class=”anim_add_to_cart_button” “single_add_to_cart_button”>

    Make it this :
    <div id=”button-cart” class=”anim_add_to_cart_button single_add_to_cart_button”>

    And you are done. ??

    Thread Starter E-Smokey.nl

    (@e-smokeynl)

    Hi,

    I found out where to add the code and I did. But still nothing happens on the website.

    Are there any other settings I have to change?

    Thanks,

    Ronald

    Thread Starter E-Smokey.nl

    (@e-smokeynl)

    Something did happen now: https://dampersblog.nl/product/dit-is-een-test-5/

    (and I am not sure it’shows in the right way).

    If this is what the plugin does, it’s not what I am looking for. I am looking for a plugin which can do this:

    If I have a product with variantions, I want costumers to be able to select this variantions directly from the catalog view and add them to the cart (so without going to the actual product).

    Is it possible with this plugin, or do I have tot search for an other option?

    Thanks,

    Ronald

    Plugin Author Rishi Mehta

    (@rcreators)

    This is also possible in this plugin :

    go here :
    https://dampersblog.nl/wp-admin/admin.php?page=wc-settings&tab=products&section=wc_ajax_add_to_cart_variable

    Tick the option and you are good to go.

    Thread Starter E-Smokey.nl

    (@e-smokeynl)

    This is enabled (it was all the time), but it’s not working.

    I don’t need the button on the single product pages (it’s already in my theme), so I can remove that piece of code again?

    But I would love to make the variations on the archive page work correctly.

    Any advice?

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi Ronald,

    I look into your website again https://dampersblog.nl/

    At bottom you have variable product and after selection variations, you can add it directly to cart properly and also updates mini cart in top and shows popup as per your theme.

    So as per my plugin its working perfect and nothing issue in it, what i think is you need to update your design now to looks good with this functionality.

    Thread Starter E-Smokey.nl

    (@e-smokeynl)

    Thank you for all your help. After adding new products it’s working.

    Thanks,

    Ronald

    Plugin Author Rishi Mehta

    (@rcreators)

    Hi Ronald,

    Welcome, Glad you got it working ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Products don't show when plugin enabled’ is closed to new replies.