Home Forums WoodMart support forum Hello support how are you? I would like to know how to send the customer to the

Hello support how are you? I would like to know how to send the customer to the

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #431625

    contato.paulo
    Participant

    Hello support how are you?
    I would like to know how to send the customer to the product page when he clicks on the “buy” button if when he clicks it is possible to send

    #431770

    Hello,

    Regarding the Products redirection to the Single Product page, by default under WooCommerce for the Variable Products when you click on Add to Cart button you are redirected to the Product page where you need to first select the Variants and then you can add the Product to Cart.

    For the Simple Products, you can directly add them to Cart from the Archive pages. This is how the default functionality works.

    Under the Dashboard > WooCommerce > Settings > Products > General > Add to cart behavior > there you can find one option of redirecting Products to Cart page after being added to Cart: https://snipboard.io/CX8MUr.jpg

    Under the WoodMart Theme, there are three options available related to Action after add to cart which are Show Popup, Display Widget and None which you can find under the Dashboard > Theme Settings > Shop > Shopping cart widget > Action after add to cart > in that you can find the options to select: https://snipboard.io/VxzrQN.jpg

    Other than these options, it requires Customization and this is beyond our limitations and support policy scope. Hope you can understand our limitations.

    Best Regards

    #432311

    contato.paulo
    Participant

    Hi support I found a topic in the wordpress community.
    In this topic, the user provides a code, but did not explain where the code has to be inserted to work.

    Can you help me please?
    See the link below:

    https://wordpress.org/support/topic/how-to-change-buy-button-link-to-go-to-product-page-before-adding-to-cart/

    #432377

    Hello,

    Firstly, these are custom code changes which come under Customization and aren’t provided and encouraged by the Theme itself. So, if you want to try it out then it would be done at your own risk (just wanted to assure of the after effect).

    Usually the Code Snippet changes are done under the Child Theme in comparison to Parent Theme because if you do this on Parent Theme > then after the Theme Update the code will get wiped out. So, you will need to have a Child Theme first to try out this change. Here is the guide to set up Child Theme: https://xtemos.com/docs-topic/setup-child-theme/

    In that Child Theme, you will find a functions.php file > in that file you can paste this Snippet to try out at your end: https://snipboard.io/tCcAWL.jpg

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)