New answers tagged custom-options
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 ...
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"?>
<...
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\...
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:...
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 + '&...
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 ...
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': '...
Top 50 recent answers are included
Related Tags
custom-options × 1053magento2 × 299
magento-1.9 × 246
product × 140
configurable-product × 91
price × 74
cart × 68
addtocart × 48
magento-1.7 × 47
magento-2.1 × 43
attributes × 42
product-attribute × 41
magento-1.8 × 38
event-observer × 32
orders × 30
custom × 27
magento-1 × 26
products × 26
module × 25
magento2.3 × 21
php × 21
ce-1.7.0.2 × 20
simple-product × 19
checkout × 18
file-upload × 17