ProxiBlue / hyva-smile-autocomplete-add-to-cart

Place Add To Cart Inline in Smile AutoComplete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autocomplete Add To Cart Button

Introduction

Place an add to cart button on Autocomplete for saleable simple products

image

Requirements

  • Hyva Theme for Magento
  • Smile ElasticSuite Search with Autocomplete enabled
  • Hyva Smile Compatibility module

Install

  • composer config repositories.github.repo.repman.io composer https://github.repo.repman.io
  • composer require proxi-blue/hyva-smile-autocomplete-add-to-cart
  • ./bin/magento setup:upgrade
  • ./bin/magento setup:di:compile

Configuration

  • None, once installed, add to cart mini form will be added to all saleable simple products
  • Quantity will adhere to product configured min/max and qty step configuration.
  • Ads in a new render template for the add to cart rows, so existing product row renders are not affected. (ProxiBlue_HyvaSmileAutocompleteAddToCart::catalog/autocomplete/product_add_to_cart.phtml)
  • Will return to current page after add to cart form submit was effected. ( Coudl have ajax'd it, but this works just as well )

Donations

If you use this in a commercial site, I'd appreciate a donation to my Cat Sugar Cube's toy fund ;)

paypal

image

About

Place Add To Cart Inline in Smile AutoComplete

License:MIT License


Languages

Language:PHP 75.0%Language:HTML 24.0%Language:JavaScript 1.0%