I have created a simple extension where I add blocks on the product page. In the product page i am printing some variables through a custom file in phtml above the add to cart button. Example: $Condition $Guarantee $Color is it possible to manage the printing of variables from the […]
Magento
A client is asking to have a customer order note section in their checkout. I looked at this solution but it seems a little convoluted for what the client needs. Then I came across this solution on GitHub. I can see there appears to be a totally unused field in […]
I want to show the specific products from array via list.phtml with pagination. I referred https://github.com/BssGroup/HelloWorld and wrote the below code in block and controller. $collection->addAttributeToFilter('entity_id', ['in' => $ids]); But it gives all products when visiting http://localhost/helloworld/index/index page. What is the best possible way to achieve this in Magento 2? […]
There is an attribute named mid, the value is like ‘1; 2; 3;’, which means a product maps to many manufacturers. To keep the solution simple, we put it in the text field. Users could choose the manufacturer, and then it will be saved in customersession. $customerSession->setMyValue(array('mId' => '1;' ) […]
I want to update only one particular store view only Example i have two stores, one in US(default store) and other in UAE (AE store view), i want to update only UAE products add to UAE store / remove from UAE store, stock Qty and Status update programmatically, can some […]
We get a lot of [Report Only] Refused to load because it does not appear in the script-src directive of the Content Security Policy. errors in the browser console in the cart and in the checkout. For example: [Report Only] Refused to load https://www.owndomain.com/static/version1647099076/frontend/Theme/theme/en_EN/Magento_Checkout/js/view/cart/shipping-estimation.js because it does not appear in […]
I have a Magento 2.4 instance that serves as the main website for my company. Also, I have multiple clients that want to have a website similar to mine but with different categories, products, and pages, all of them under the same admin interface. In order to fulfill this request, […]
I want to create a custom extension that shows a video on the frontend product page, in custom TAB, for that, I have created a custom extension, now I need to use this Plyr, Plyr so how can I add in the Custom extension? like its JS and CSS or […]
i already write cistom module who display custom grid with data from sql query (select 3 tables) in Venige/InvoiceGrid/Model/ResourceModel/InvGrid/Collection.php I have custom button in ui_component <item name="deltaPro_xml" xsi:type="array"> <item name="value" xsi:type="string">deltaPro</item> <item name="label" xsi:type="string" translate="true">custom XML</item> <item name="url" xsi:type="string">{{module}}/export/GridToDeltaPro</item> </item> I need to export data from grid or data from […]