How to Add Products to Wishlist By GraphQL Mutation Magento 2?

addProductsToWishlist mutation to add any type of products in the wishlist using GraphQL Mutation Magento 2.

Before adding with mutation, Make sure the Wishlist feature is activated by settings.
Go to Admin panel, Click Left sidebar Stores -> Configuration.
Now Click on Customers Tab -> Wish List -> General Options -> Enable -> Yes. Continue reading “How to Add Products to Wishlist By GraphQL Mutation Magento 2?”

How to get Wishlist GraphQL Query Magento 2?

Magento Wishlist supports the GraphQL query feature. You can refer to the module-wishlist-graph-ql from the Magento core code to get more info on the specific query feature.

The schema.graphql file for the Wishlist module will be available at the path, vendor/magento/module-wishlist-graph-ql/etc/schema.graphqls

You must have enabled the Wishlist feature to get the output of the query by Stores -> Configuration -> Customers -> Wish List -> General Options -> Enable -> Yes. Continue reading “How to get Wishlist GraphQL Query Magento 2?”

How to Display Extra Fee to the Total of Order Invoice PDF Magento 2?

You can add an extra fee to the total section of the Order invoice in Magento 2 and also display that field value in the order invoice PDF.

If some customer has a requirement to add a custom predefined fee to the order and save that extra fee to the sales order and all the other operations of Order processing.

Once the Order is placed successfully and generates an invoice, you can able to download an Invoice PDF for that specific record or bulk invoices using the Print All Option. Continue reading “How to Display Extra Fee to the Total of Order Invoice PDF Magento 2?”