I created frontend template page, my page has embedded some javascript. Some line I need to use double curly brace. one of the line <a class='media' data-media-index='{{> Index }}'> <img data-original="{{> Media.Images.LowResolution.Url }}" alt="{{> Title }}" style="display:inline-block;" class="lazy"> </a> but it turns out the page source is showing <a class='media' […]
Magento
We need to implement partial payment functionality in magento 2 store. It will be in such a way that during payment the transaction will only be authorized but not captured. Then at the time of invoice creation the items will be invoiced in parts (like few items are part of […]
We’re currently using the WebShopApps Matrixrates extension on our Magento 2 installation. The columns in our matrix rates file include: ‘Order Subtotal >’ and ‘Order Subtotal <=’ We have the following configuration: Greater than ‘0’ and less than or equal to ‘349.99’ is a Shipping Price of ’45’ Greater than […]
In the checkout in the country_id dropdown I have 2 countries: FR and BE. For FR I have a VAT percentage of 20% and for BE I have 21%. My goal is to update the tax amount in the checkout. When I switch countries I triggered an ajax request: $quote […]
I would like to create a customer module, I want to get use with the vendor/magento/module-ups/ module, and using the same config in my custom module, such as userID, password, access key. how can I include into my custom module? I want to get use below function into my custom […]
Create a custom Rest API product based which just includes the following. • Product Name • Product URL • Product image (media URL) • Product Price • Product SKU • Product Qty • Product Stock Status what should be the code ?
i have made a drop down named test_attribute and multi_attribute for products and i want to show that into api call of products as well i have made extension_attributes.xml but nothing in extension_attributes.xml shows up in api call can some body help? extension_attributes.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd"> <extension_attributes for="MagentoCatalogApiDataProductInterface"> […]
I have need to override vendor/magento/module-customer/view/frontend/templates/address/edit.phtml ., to include some custom fields to address form in new customer registration page. Active theme is luma. Magento version is 2.4 I tried have customized edit.phtml in app/design/frontend/Magento/luma/Magento_Customer/templates/address/ – didn’t work Then tried in app/design/frontend/Magento/blank/Magento_Customer/templates/address – didnt work . In pub/static/frontend/Magento/luma/en_US/Magento_Customer/template , the […]
I need to export pages or templates made with Magento’s Page Builder and import them to another site. Is there some way of achieving this?