Can we add an option to choose also with sku the products in the coupons beside the name of the products? https://prnt.sc/zgFFd6cTOO65
Opencart 3.0.3.6
Thanks
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
Code: Select all
$('input[name=\'product\']').autocomplete({
If you are referring to the actual SKU product field, then you will need to make modifications to allow the autocomplete search to include SKU. A quick way would be to simply modify the SQL query in "getProducts" function in "admin/model/catalog/product.php" (do note that this will apply the change to everything that uses the "getProducts" model function). But in general I think you would probably need to take a look at the following:
- "autocomplete" function in "admin/controller/catalog/product.php"
- "getProducts" function in "admin/model/catalog/product.php"
Check out our ever-growing list of extensions for OpenCart here.
Some useful extensions for a better admin experience: Image File Manager Pro • Drag & Drop Sort Order
Reach out to us at hello@softmonke.com for your OpenCart web development needs or feedback for our extensions.
If you can't find an extension, you could pay a developer such as ourselves or post a job in the Commercial Support Forum.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Users browsing this forum: No registered users and 32 guests