3

To prevent console log error use Magento default function processStart and processStop for the loader in your ajax. remove this from your ajax call showLoader: true $.ajax( /*showLoader: true, Remove this one */ url: url, data: param, type: "POST", beforeSend: function () { $('body').trigger('...


1

This code works for this problem <div class="qty-field"> <label for="qty"><?php echo $this->__('Qty:') ?></label> <div class="qty-holder"><input type="text" name="qty" id="qty_<?php echo $_product->getId(); ?>" maxlength="6" value="<?php echo $product->getProductDefaultQty() * 1 ?>" title="<?php echo $...


1

Please try below code create Event: Vendor\Addtocart\etc\events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> <event name="sales_model_service_quote_submit_before"> <observer name="quote_to_order" instance=...


Only top voted, non community-wiki answers of a minimum length are eligible