Code Blog

How to Remove all Test Order Record From Magento2 Store.

Remove old Order record form Data base of Magento2 for clean up database. This code is tested in Magento2.2.4 Also. SET FOREIGN_KEY_CHECKS=0; # Clean order history TRUNCATE TABLE `sales_bestsellers_aggregated_daily`; TRUNCATE TABLE `sales_bestsellers_aggregated_monthly`; TRUNCATE TABLE...

Magento2 Programmatically Update cart Item Quantity using ajax

Magento2 Programmatically Update cart Item using ajax .With out page refresh using Ajax and Jquery you can Update Magento2 Cart item Quantity1 Html: <div class=”product-secondary qty”> <div class=”field “> <div class=”control qty-wrapper”> <span cart_id=”cart-<?=...

Create new Customer Registration and Login Programmatically in Magento2

Create new Customer Registration Programmatically in Magento2.using html Ajax create magento2 Custom Registation and Auto Login. 1.Html <div id=”search_popup_stepfirst”> <div class=”search_popup sam”> <div class=”cst_bg”> <form class=”form-signin hidden” id=”customerLoginForm2″ method=”post” action=”<?php echo $this->getUrl(‘orderrequest/prescription/customerLogin’); ?>”> <p...

Magento2 Remove cart Item using Jquery Ajax

With out page refresh you can delete one by one Cart item using Custom programatically using Jquery and Ajax and Custom magento2 Controller for Delete Cart itrm. 1.Html <div class=”paddt-3″> <a href=”javascript:void(0)” onclick=”RemoveCartitem(<?php echo...

Magento2 Delete or Clear Cart Programmatically

Delete Magento2 Cart All items Programatically with out page refresh using jquery Require js.   <button type=”button” onclick=”clear_cart();” name=”update_cart_action” data-cart-empty=”” value=”empty_cart” title=”<?= $block->escapeHtml(__(‘Clear Shopping Cart’)) ?>” class=”action clear btn-cstm” id=”empty_cart_button”> <span><?= /* @escapeNotVerified */...

Apache2 on Ubuntu Server Commend line to create Sub Domain

Almost every website uses subdomains, my website as well for example. When you enter “http://daanlenaerts.com” in the address bar of your browser, you will get to my website. And when you type “http://blog.daanlenaerts.com“, you will...

Change magento 2 Cart Page Quantity On change Ajax.

Reload totals cart after ajax change quantity Step In your custom them create ( Magento_Theme/layout/checkout_cart_index.xml ) <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” layout=”1column” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceContainer name=”content”> <block class=”Magento\Framework\View\Element\Template” name=”cart.ajax.qty.update” template=”Magento_Theme::js.phtml” after=”-“/> </referenceContainer> </body> 2.Step creat js.phtml file...

Why we use CodeIgniter ?

Please read below featured of Codigniter for proper understanding the features of Codigniter. Who is CodeIgniter For? CodeIgniter is right for you if: You want a framework with a small footprint. You need exceptional...

Show Buttons
Hide Buttons
Social Media Auto Publish Powered By : XYZScripts.com