I`m searching on my website, for example, Black jackets, then it will show me all products that name in have word jacket + black I wanna show only products names complete match Black jackets how can do it?
Magento
I have a view model with a method for returning the category names from the current_product (Works in product view page). However it returns null when being used in the catalog view page (catalog_category_view.xml). ViewModel: namespace TheCompanyTheappViewModel; use MagentoFrameworkViewElementBlockArgumentInterface; use MagentoFrameworkViewElementTemplate; /** * Gets current products Categories */ class CategoryLogic […]
submitForm: function (form) { //this.ajaxSubmit(form); var popup = $('<div class="add-to-cart-modal-popup"/>').html($('.page-title span').text() + '<span> has been added to cart.</span>').modal({ modalClass: 'add-to-cart-popup', title: $.mage.__("Popup Title"), buttons: [ { text: 'Continue Shopping', click: function () { this.closeModal(); } }, { text: 'Add To Cart', click: function () { this.ajaxSubmit(form); //return false; //window.location = […]
I want product current stock. That’s why I have used below code. But every time I got the initial stock. I have changed the stock manually from magento 2 admin. But it shows the same. $stockManager = $objectManager->get('MagentoCatalogInventoryModelStockRegistry')->getStockItem($item->getId()); print_r($stockManager->getData()); { item_id: "8", product_id: "8", stock_id: "1", qty: "50.0000", min_qty: "0.0000", […]
I have an event observer listening on checkout_cart_product_add_after which works when adding products to the cart from the product, category, and wishlist pages, but when adding products to the cart from the B2B requisition list that event is not fired. I haven’t been able to find anything as to why […]
I have a site that uses 1 column and 2 column layouts for category pages (some pages are 1 column, others are 2 column) I made a change to the catalog_category_view.xml to update the layout of the 1 column pages, but it didn’t have the intended effect on the 2 […]
Anyone have experience using the Magento’s bulk API async/V1/products. I tried using it with RabbitMQ but it was throwing error like connection time out after 3 seconds, I fixed that but still I’m getting exception Broken Pipe or Close Connection. Can anyone help on that. Thanks
Hi @all, for me Position column not showing for Catalog => Categories => Products in Category for all categories for assigned products in Admin Panel. Please help me if any idea !!
I want to add the form data in log files when the customer submits the login/registration form on my Magento 1 store. How can I do it using login.phmtl and register.phtml template files? I am using Magento ver. 1.9.4.4 I tried using the below method but not working. <?php Mage::log(print_r($formData, […]