I have create online module by “https://code.vky.co.in/magento-2-module-creator/” this site. Now i want to add extra custom filed of multiple select dropdown. Dropdown filed showing lavel is product name and value is product id. How to get product name and id in dropdown with store value in database How to do? […]
Magento1
We are facing a problem with Special Price End date on Magento 2.3.5 We are updating the prices using the Rest API. When we add the special price with the start/End date all work fine until the end date is past. The product remains in discount after the expiration date […]
When I run the PWA studio project locally I get this error. And after an error in the browser console, it keeps sending requests to the server. Access to fetch at 'https://xxxxx.com/Store/rest/V1/guest-carts' from origin 'https://xxxx:8834' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: […]
We’ve been able to display Yotpo reviews carousel on the homepage of our Magento store. But I need to display that also on a few specific category pages. I’m not sure where to add the following code so that carousel will display only in specific category pages. <style> .yotpo-reviews-carousel {max-width:1300px […]
I added the Shipping price, Subtotal and Grand Total to the Mini Cart. So that the customers can check their shipping price in the Mini Cart. I think the magento is stored the shipping price in Quote Object. And the Quote object is created after the product to the Cart. […]
I am trying to check for the routename and based on that i want to display the top menu item as active or not. But for some reason is_active does not do anything. Even when i jusst straight up set it to false it still displays as active on the […]
i’m trying to do an api call using ajax on admin page, but it keeps returning “Invalid form key” <script type="text/javascript"> require([ "jquery" ], function ($){ let url = window.location.href; url = url.split('/'); url = url.slice(2,4); url = url.join('/'); console.log("URL -> "+(url+"/rest/V1/orders")); $('#button').on('click', function(){ $.ajax({ url: url+"/rest/V1/orders", data: { "entity":{ […]
How can I get the store_view into the admin grid? I have a second table to store the key and the store_id. how can I retrieve the data from that table to the grid? I have below, but it is showing empty in the gird. how can I get the […]
I have a really big problem with my magento installation, everything was working fine til today – now session in frontend and in backend is not working at all – i can’t add product to cart or do anything else because form key is always mismatched with the one on […]