Skip to content

this is my webapi.xml file please give me solution this url not working for Get Api Call /rest/V1/wishlist/customer?customerId=7

<route url=”/V1/wishlist/customer/items” method=”GET”> <service class=”XteamWishlistApiWishlistManagementInterface” method=”getWishlistItemsByCustomerId”/> <resources> <resource ref=”anonymous” /> </resources> <data> <parameter name=”customerId” force=”true”>%customer_id%</parameter> </data> </route> <route url=”/V1/wishlist/customer/item/:customerId/:productId” method=”DELETE”> <service class=”XteamWishlistApiWishlistManagementInterface” method=”removeProductFromWishlist”/> <resources> <resource ref=”anonymous” /> </resources> </route>

Magento 2 – Event – Observer – Shipping amount is correct on checkout page refresh

I am trying to calculate tax on the total of subtotal+shipping-discount. I have created an event/observer for this. <event name=”sales_quote_save_after”> <observer instance=”SKPOrderGstObserverCheckoutSalesQuoteSaveAfter” name=”skp_ordergst_observer_sales_quote_save_after”/> </event> After entering the shipping address on the checkout page first time the getShippingAmount returns 0, but… Read More »Magento 2 – Event – Observer – Shipping amount is correct on checkout page refresh

How to add image in email template?

I am trying to add image in my custom email template. I want to know how to define image section in email template and how to set image PARAMS of email sending action using TransportBuilder. Images exist of media path.