[{"title":"( 36 个子文件 37KB ) magento2-ajax-cart:Ajax添加到购物车进行扩展Magento 2提供了通过AJAX弹出窗口将产品添加到购物车的主要功能。 通过允许客户直接在产品列表页面中将任何产品类型添加到购物车,它大大改善了用户体验-源码","children":[{"title":"magento2-ajax-cart-master","children":[{"title":"app","children":[{"title":"code","children":[{"title":"Magetop","children":[{"title":"AjaxCartPro","children":[{"title":"CustomerData","children":[{"title":"Crosssell.php <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"view","children":[{"title":"frontend","children":[{"title":"requirejs-config.js <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"templates","children":[{"title":"product","children":[{"title":"list","children":[{"title":"items.phtml <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"view","children":[{"title":"addtocart.phtml <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"cart","children":[{"title":"ajax_sidebar.phtml <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"ajax_cart_form.phtml <span style='color:#111;'> 550B </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"components.phtml <span style='color:#111;'> 197B </span>","children":null,"spread":false}],"spread":true},{"title":"blank.phtml <span style='color:#111;'> 53B </span>","children":null,"spread":false}],"spread":true},{"title":"web","children":[{"title":"js","children":[{"title":"ajaxcart.js <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"catalog-add-to-cart.js <span style='color:#111;'> 7.20KB </span>","children":null,"spread":false},{"title":"ajaxcart.bk.js <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"sidebar.js <span style='color:#111;'> 9.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"template","children":[{"title":"ajaxcart","children":[{"title":"crossell.html <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"cart_summary.html <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"cart_items.html <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"content.html <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"summary.html <span style='color:#111;'> 639B </span>","children":null,"spread":false},{"title":"added_item.html <span style='color:#111;'> 500B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"layout","children":[{"title":"ajaxcartpro_product_crosssell.xml.bk <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"default.xml <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"catalog_product_view_type_bundle.xml <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"catalog_product_view.xml <span style='color:#111;'> 701B </span>","children":null,"spread":false},{"title":"ajaxcartpro_product_crosssell.xml <span style='color:#111;'> 815B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"registration.php <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"i18n","children":[{"title":"en_US.csv <span style='color:#111;'> 233B </span>","children":null,"spread":false}],"spread":true},{"title":"Controller","children":[{"title":"Product","children":[{"title":"Crosssell.php <span style='color:#111;'> 836B </span>","children":null,"spread":false},{"title":"Compare","children":[{"title":"Add.php <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Cart","children":[{"title":"Delete.php <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"Add.php <span style='color:#111;'> 8.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Block","children":[{"title":"AjaxCart.php <span style='color:#111;'> 408B </span>","children":null,"spread":false},{"title":"Product","children":[{"title":"Crosssell.php <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"etc","children":[{"title":"module.xml <span style='color:#111;'> 468B </span>","children":null,"spread":false},{"title":"frontend","children":[{"title":"di.xml <span style='color:#111;'> 518B </span>","children":null,"spread":false},{"title":"routes.xml <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"sections.xml <span style='color:#111;'> 408B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]