Without adding our CDN to ‘Base URL for Static View Files’ we get the correct file frontend/CO/theme/en_US/jquery.min.js Adding our CDN URL we get the incorrect file frontend/CO/theme/en_US/jquery.js, which 404’s because it’s not there. CDN for ‘Base URL for User Media Files’ works fine. I checked static/.htaccess is working fine with […]
Magento
i want to add product to cart with additional option using GraphQL, i am using below mutation to add product to cart mutation { addSimpleProductsToCart( input: { cart_id: "{{cart_id}}" cart_items: [ { data: { quantity: 1 sku: "tshirt" } customizable_options:[ { id:1 value_string:"helsslo" } ] } ] } ) { […]
I tried changing the values using before dispatch plugin using below code but it’s not working. public function beforeExecute(VendorModuleControllerAdminhtmlIndexSave $subject){ $info = $subject->getRequest()->getParam('info', false); $subject->getRequest()->setParam('info', 'somevalue'); return true;} Where i am going wrong here?
I have the same data & files in the live & staging site. On staging, I have upgraded to 2.4.4 but after upgrade fronend styles are changed, not sure why. How to debug & fix it ?
I am creating the module is already functional. Now I need to change the price of a specific product when filling in the 2 cuttomized options. My base price is per square meter, so when I fill in the values, the transaction is carried out and the final price is […]
I have set up a Magento 2 instance and am trying to modify the email confirmation when ordering. In the admin panel, I found the templates at Marketing => Email templates. But it seems the template doesn’t include the blocks of the actual order content. Instead I found this: {{layout […]
I want to attach invoice pdf with invoice email. I been looking at few links from stack exchange but I am not able to get anywhere with it. I know customers can download invoice from their account area. Is there anyway we could attach customers invoice via invoice email I […]
I am using the latest version of porto theme and magento 2.4.4. I’m having a problem right now, php -f bin/magento setup:static-content:deploy Deploy using quick strategy Error happened during deploy process: Deprecated Functionality: pathinfo(): Passing null to parameter #1 ($path) of type string is deprecated in /var/www/html/vendor/magento/framework/View/Asset/PreProcessor/FileNameResolver.php on line 44 […]
In Magento2 I’ve enabled the Related Products and Upsell Products blocks. Everything’s fine except for the template of the single item. I want to change that to another custom one. Here in app/design/frontend/Vendor/theme/Magento_Catalog/templates/product/slider/product-slider.phtml The template for the items in the file above is declared here: $itemTemplate = $block->getData('item_template') ?? 'Magento_Catalog::product/list/item.phtml'; […]