Okay
  Public Ticket #3406892
I want to show cart content on single product page
Closed

Comments

  •  1
    antesuc started the conversation

    Hi,

    I have one more step which I want to accomplish before my website is done.
    I can see that in your off canvas menu you have "woocommerce_widget_cart-1" which lays out entire content of shopping cart which user created.

    I am trying to find a way to lay out that widget on Single Product Page
    over "Add To Cart" button using php snippet, because I want to turn off off canvas menu.
    It seems so simple, but I just can't find a way to do that, and it would really upgrade my site a lot.

    Can you please help

  •  8,839
    Tahir replied

    Hey antesuc,

    Could you further elaborate this with screenshots so we can respond accordingly ?. 

    Thanks.


    ThemeNectar Support Team 

  •  1
    antesuc replied

    Yeah sure..

    I would love to have this or something similar:

    2714757299.png

    Here:

    9592293655.png


  •  2,958
    Andrew replied

    Hello again,

    Thank you for getting back to us.

    Unfortunately, we currently don't have a way to the cart content on the single product page. This would require some extensive customization which I'm afraid we are not able to offer due to support scope limitations. 

    However, we are partnered with a trusted provider of expert-level Salient customization. If you are interested in initiating a project, we recommend referring to our guide at the following link: https://themenectar.com/salient/customization/.

    We appreciate your understanding.

    Best Regards,

  •   antesuc replied privately
  •  279
    Noah replied

    Hi there,

    What you can do to add a similar cart to your product page is use the method that adds the cart to the header cart icon.

    It gives a similar look to the one added to the off canvas menu using the woocommerce cart widget.

    The function adding the mini cart to the header is nectar_header_cart_output and its in salient\nectar\helpers\woocommerce.php line 1136

    To add it to the single product page then edit the template file salient\woocommerce\content-single-product.php. Try adding the function for the mini cart to line 80.

    Hope you can work from there.
    Noah.

  •  1
    antesuc replied

    Hi,

    I will manage something with this, thank you.

    Best regards!