my backend is magento 2 with graphql and in front-side we are using next js so my problem is for on every request in api response set-cookie header gives different PHP session id but i have to maintain the same session id. For next js api call we use apollo […]
Magento
I have a live Magento 2 website working fine I needed to make a test version of my server that running Magento I did copy the same files and database and everything working fine except product page I get this error : Invalid template file: ‘Magento_Review::product/view/anchor.phtml’ in module: ” block’s […]
We have created a custom shipping method using the custom module and trying to save the shipping amount based on the subtotal ex: if subtotal < 25 shipping amount is $5 if subtotal > 25 shipping amount is $0; But the below logic is not working properly all the cases […]
I have been searching how to export the Orders csv that is found in Orders Grid, I have not found anything regarded to that. This is the only file I have found about exporting orders to csv. /var/www/html/emall_dev/vendor/magento/module-reports/Test/Unit/Controller/Adminhtml/Report/Customer/ExportOrdersCsvTest.php But it’s a test file, I don’t know what Test folder means. […]
Magento 2.4.2 Lets say I have a qty of 1 for product X. Now when I try to put a qty of 10 of product X to the cart, the message “The requested qty is not available” is NOT shown. Nothing is added to the cart. When I put a […]
Have added custom attribute to order API with following info here: https://www.atwix.com/magento-2/adding-custom-attribute-to-api-response-in-magento-2/ It adds the "customer_feedback": "this is my feedback" fine to api. How to add an Json object array ? E.G: "my_custom_object": { "Key1": "value!", "Key2": "value2" } Thanks
I’ve created an extension , while visiting magento.com/rest/V1/wishlist/1/2 it throws error. here are my files – di.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="YourCompanyWishlistWebServiceApiWishlistManagementInterface" type="YourCompanyWishlistWebServiceModelWishlistManagement" /> </config> webapi.xml <?xml version="1.0" ?> <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd"> <route url="/V1/wishlist/:customerId" method="GET"> <service class="YourCompanyWishlistWebServiceApiWishlistManagementInterface" method="getWishlistForCustomer"/> <resources> <resource ref="anonymous" /> </resources> </route> <route url="/V1/wishlist/:customerId/:productId" method="POST"> […]
I am trying to simple change the logo shown on the admin login page. After creating the following files i have run magento setup:upgrade magento setup:static-content:deploy -f magento setup:di:compile magento cache:clean app/design/adminhtml/Myvendor/mycustomadmintheme/theme.xml <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd"> <title>My custom admin theme</title> <parent>Magento/backend</parent> </theme> app/design/adminhtml/Myvendor/mycustomadmintheme/registration.php <?php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::THEME, 'adminhtml/Myvendor/mycustomadmintheme', __DIR__ ); app/design/adminhtml/Myvendor/mycustomadmintheme/Magento_Backend/layout/default.xml <page […]
We are experiencing an issue with our Magento store: New URLs are being generated upon saving products, pointing to the configurable’s product variant, and causing them to appear on the frontend. Here’s an example: I have a configurable product “Plastipak Syringe” with about ten variants. One of the URL keys […]