Is there a way to add the option for the customer to print their shopping cart?
Thank you.
@MacArthurThere is no such native functionality in Magento. There is no such extension available in Magento Market place which you can use out of the box for your updates.
If you know coding then you'll be able to implement it without much effort. This can be built using simple Javascript code.
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.
As previous answer suggest this can be done with a simple JS code
Create a button in Cart Page, name it like "Print Cart", you can use similar code like this
<button onclick="window.print()">Print Cart<button>
@MacArthur You can do it as magento standard way. i think magento 2 giving print functionality only on compare product page. so you need to follow print compare product page functionality.
You can find print functionality in below path.
/var/www/html/ProjectName/vendor/magento/module-catalog/view/frontend/templates/product/compare/list.phtml
Find below code.
data-mage-init='{"compareList":{ "windowPrintSelector":".action.print", "productsInRow":"5", "selectors":{ "productAddToCartSelector":"button.action.tocart"} }}'
If Issue Solved, Click Kudos/Accept As solutions.