New answers tagged

0 votes

magento 2.4 add to cart multiple simple products with options

I finally did it. In case somebody else needs it, I'll explain here what I did. What puzzles me is that magento could already have this feature but for some reason that I cannot understand they ...
user avatar
  • 129
0 votes

Magento 2.x How to allow children of Configurable Products to have Custom Options?

Magento 2.4.x Below code is for save child products with a custom option which part of the configurable product. app/code/VendoreName/ModuleName/etc di.xml <?xml version="1.0"?> <...
user avatar
  • 5,800
0 votes

magento 2.4 add to cart multiple simple products with options

Try namespace MagePal\CustomCart\Helper; use Magento\Framework\App\Helper\AbstractHelper; use Magento\Framework\App\Helper\Context; use Magento\Checkout\Model\Cart; use Magento\Catalog\Model\...
user avatar
0 votes

Add custom option Programmatically in cart its not increasing quantity in cart

/app/code/Namespace/Mymodule/etc/events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
user avatar
0 votes

Send Custom Data to quote table

In the js file you need to send data via ajax function transfer() { const Http = new XMLHttpRequest(); const str = 'day='+ document.getElementById('dayData').value + '&...
user avatar
0 votes

Magento 1.9 new color custom option inherit the characteristics of the size existing custom option

Welcome to the wonderful world of Magento, this won't be your first headache :) The thing that makes Magento so powerful and also so difficult is that the system is designed to allow modifications at ...
user avatar
  • 724
1 vote
Accepted

Send Custom Data to quote table

You have to do the following things: You have to add data to the additional data to the payment data. Create a function as following: getData: function () { return { 'method': '...
user avatar

Top 50 recent answers are included