Okay
  Public Ticket #2981014
swatches on shop page
Closed

Comments

  •  3
    natah started the conversation

    Hi!

    I would like to display the attributes of product to the shop page.

    in order the client to choose the size and add the product to cart directly from shop page.

  •  1,877
    Judith replied

    Hi Natah,

    Thanks for choosing salient.

    Please check this out:https://iconicwp.com/blog/display-woocommerce-attributes-on-the-shop-page/.

    Thanks.

  •   natah replied privately
  •  279
    Noah replied

    Hello Natah,

    Please enable the following settings on your woocommerces settings:

    Redirect to the cart page after successful addition

    Enable AJAX add to cart buttons on archives

    Thanks.


  •  3
    natah replied

    No it is not working! I don't want to redirect after add to cart.

    For the variations table class="vi_wpvs_loop_variation_form" I choose position after title,

    can you please tell me other positions ?

    the support of plugin says:

    Custom position  If none of the above positions work, you can enter a specific hook here. It's technical so you should ask a theme developer about the needed hook.

    I have managed to make it work with Price/Star Ratings on Hover and position after cart

    now the button add to cart adds a product with selected attributes to my cart.

    but the  design is not ok, the add to cart is not a button

    can I fix that with css ?

  •  3
    natah replied

    please advice me how to change the button add to cart for product style: Price/Star Ratings on Hover

    2000807444.png
    i want to make it like this
    3407593525.png
  •  279
    Noah replied

    Hello,

    Please share your admin credentials so that I can assist with the css.

    Thanks.

  •   natah replied privately
  •  279
    Noah replied

    Hi Natah,

    Glad to hear you were assisted and thanks for sharing the script.

    Cheers!

  •  1
    Mark replied

    The same thing helped.