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
Attachments
Coupons-Sku-Choose.jpg (434.32 KiB) Viewed 1088 times
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
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: Bing [Bot] and 13 guests