Hello all,
i'm Italian, sorry if my english isn't perfect.
I'm using Opencart 2.3.0.2 and i have near 300 Categories/subcategories in my store. When i create a Product that i call "universal" i have to Select in "LINK" all 300 Categories/subcategories manually and by autocomplete (very slowly and noisy).
There is a metod to select only "Main Category" (and automatically will show to all subcategories) or something module or modification of file that can me help (like select all.. etc) ?
Thanks a lot,
kind regards
Riccardo
i'm Italian, sorry if my english isn't perfect.
I'm using Opencart 2.3.0.2 and i have near 300 Categories/subcategories in my store. When i create a Product that i call "universal" i have to Select in "LINK" all 300 Categories/subcategories manually and by autocomplete (very slowly and noisy).
There is a metod to select only "Main Category" (and automatically will show to all subcategories) or something module or modification of file that can me help (like select all.. etc) ?
Thanks a lot,
kind regards
Riccardo
Hi Riccardo,
I don't think there is a way to do it without a module or something, but can I ask what are the categories and why do you want a product to appear in all?
Cheers,
Paul
I don't think there is a way to do it without a module or something, but can I ask what are the categories and why do you want a product to appear in all?
Cheers,
Paul
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Hi Paul,paulfeakins wrote:Hi Riccardo,
I don't think there is a way to do it without a module or something, but can I ask what are the categories and why do you want a product to appear in all?
Cheers,
Paul
thanks for your fast reply.
I have 300 types of Moto sorted by Manufacter (like Honda) and in subcategory all models (like CBR1000R etc). So i have a lot of product to link to all Models of moto.
I have seen a Post in this forum but for 1x version.. they said to do:
Code: Select all
Go to catalog/controller/product/category.php
Find 'filter_category_id' => $category_id, and add this line 'filter_sub_category' => true, . Now it shows the all subcategory products when you access category name. I hope this answer will help anyone here..
are you looking for something like this ?
Disable Autocomplete
This mod disable the browser auto-complete function in the product form (add and edit).
https://www.opencart.com/index.php?rout ... n_id=20490
Ernie
Disable Autocomplete
This mod disable the browser auto-complete function in the product form (add and edit).
https://www.opencart.com/index.php?rout ... n_id=20490
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Yes exactly! It works for my Version of oc? I have the last..IP_CAM wrote:are you looking for something like this ?
Disable Autocomplete
This mod disable the browser auto-complete function in the product form (add and edit).
https://www.opencart.com/index.php?rout ... n_id=20490
Ernie
Thanks!
There's no simple solution for this and disabling autocomplete will not help you. One way or another you need to define categories you want to assign to product. If you want some custom behavior here, your only option is to do custom coding.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
1 backup
2 backup
3.
2 backup
3.
Code: Select all
DELETE FROM oc_product_to_category WHERE product_id= 'YOUR uneversal_product_id';
INSERT INTO oc_product_to_category VALUES(prosuct_id,category_id) (SELECT 'YOUR uneversal_product_id', category_id FROM oc_category);
Who is online
Users browsing this forum: dparakhiya and 319 guests