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.
schema.graphql file for the Wishlist module will be available at the path,
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?”
You can add an extra fee to the total section of the Order invoice in Magento 2 and also display that field value to 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 operation of Order processing.
Once the Order placed successfully and generates an invoice, you can able to download an Invoice PDF for that specific record or in bulk invoices using the Print All Option. Continue reading “How to Display Extra Fee to the Total of Order Invoice PDF Magento 2?”
When you want to save data to the sales_order from the quote table or before place an order you want to save data to the sales order table you can achieve this via the event observer approach.
You can save custom field value to the Order table before the order placed. The given event will also useful to copy quote data to the sales order table.
Event Name: sales_model_service_quote_submit_before
You can find the definition for the event from the Quote Module.
vendor/magento/module-quote/Model/QuoteManagement.php Continue reading “How to use sales_model_service_quote_submit_before event Magento 2?”