Good day The problem remained. I am attaching a screenshot, while the action seems to be working, everything is being downloaded, updated over time. But bugs are noticed: for example, when renaming a category in onebox and moving goods to it - these categories then do not work in opencard (they do not open).
[file]22829[/file]
[file]22829[/file]
Good day The problem remained. I am attaching a screenshot, while the action seems to be working, everything is being downloaded, updated over time. But bugs are noticed: for example, when renaming a category in onebox and moving goods to it - these categories then do not work in opencard (they do not open).
I am providing a screenshot of a message from the support of the opencard module (it is related to categories that are broken). The screenshot says that the solution can be through onebox
I am providing a screenshot of a message from the support of the opencard module (it is related to categories that are broken). The screenshot says that the solution can be through onebox
[file]22832[/file]
[file]22832[/file]
Good afternoon. 1. We do not use methods of updating categories from files that are on your server, you can consider them depracated. We update categories through the database with direct requests 2. If something doesn't work for you, make it so that one category doesn't open, check with the developer which entry is missing in which table or where the IDs haven't changed and we'll change it in our integration.
Good afternoon.
1. We do not use methods of updating categories from files that are on your server, you can consider them depracated. We update categories through the database with direct requests
2. If something doesn't work for you, make it so that one category doesn't open, check with the developer which entry is missing in which table or where the IDs haven't changed and we'll change it in our integration.
let him cook OneBox production wrote: Good day 1. We do not use methods of updating categories from files that you have on the server, it can be considered that they are depracated. We update categories through the database with direct requests 2. If something doesn't work for you, make sure that it doesn't open for one category, check with the developer which entry in which table is missing or where the Yiddish symbols have not changed and we will change it in our integration.
Can you change this information (from the developer of the record) in your integration: After updating the category, you need to do repair see the method in $this->model_catalog_category->repairCategories(); admin/model/catalog/category.php public function repairCategories($parent_id = 0) {
[quote]
let him cook
OneBox production wrote:
Good day
1. We do not use methods of updating categories from files that you have on the server, it can be considered that they are depracated. We update categories through the database with direct requests
2. If something doesn't work for you, make sure that it doesn't open for one category, check with the developer which entry in which table is missing or where the Yiddish symbols have not changed and we will change it in our integration.
[/quote]
Can you change this information (from the developer of the record) in your integration:
After updating the category, you need to do repair
see the method
in $this->model_catalog_category->repairCategories();
admin/model/catalog/category.php
public function repairCategories($parent_id = 0) {
let him cook OneBox production wrote: Good day 1. We do not use methods of updating categories from files that you have on the server, it can be considered that they are depracated. We update categories through the database with direct requests 2. If something doesn't work for you, make sure that it doesn't open for one category, check with the developer which entry in which table is missing or where the Yiddish symbols have not changed and we will change it in our integration.
Can you change this information (from the developer of the record) in your integration: After updating the category, you need to do repair see the method in $this->model_catalog_category->repairCategories(); admin/model/catalog/category.php public function repairCategories($parent_id = 0) {
drop the code of this function, I'll look. And clarify, is this the basic code of some version of OpenCard or some module?
[quote]
Bobir Denis Viktorovych wrote:
[quote]
let him cook
OneBox production wrote:
Good day
1. We do not use methods of updating categories from files that you have on the server, it can be considered that they are depracated. We update categories through the database with direct requests
2. If something doesn't work for you, make sure that it doesn't open for one category, check with the developer which entry in which table is missing or where the Yiddish symbols have not changed and we will change it in our integration.
[/quote]
Can you change this information (from the developer of the record) in your integration:
After updating the category, you need to do repair
see the method
in $this->model_catalog_category->repairCategories();
admin/model/catalog/category.php
public function repairCategories($parent_id = 0) {
[/quote]
drop the code of this function, I'll look. And clarify, is this the basic code of some version of OpenCard or some module?
let him cook OneBox production wrote: Good day 1. We do not use the methods of updating categories from the files that you have on the server, it can be considered that they are depracated. We update categories through the database with direct requests 2. If something is not working for you, make one category so that it does not open, check with the developer which record is missing in which table or where the Yiddish symbols have not changed and we will change it in our integration.
Can you change this information (from the developer of the record) in your integration: After updating the category, you need to do repair see the method in $this->model_catalog_category->repairCategories(); admin/model/catalog/category.php public function repairCategories($parent_id = 0) {
drop the code of this function, I'll look. And clarify, is this the basic code of some version of OpenCard or some module?
This is an openkart core from 1.5 admin/model/catalog/category.php
[quote]
let him cook
OneBox production wrote:
[quote]
Bobir Denis Viktorovych wrote:
[quote]
let him cook
OneBox production wrote:
Good day
1. We do not use the methods of updating categories from the files that you have on the server, it can be considered that they are depracated. We update categories through the database with direct requests
2. If something is not working for you, make one category so that it does not open, check with the developer which record is missing in which table or where the Yiddish symbols have not changed and we will change it in our integration.
[/quote]
Can you change this information (from the developer of the record) in your integration:
After updating the category, you need to do repair
see the method
in $this->model_catalog_category->repairCategories();
admin/model/catalog/category.php
public function repairCategories($parent_id = 0) {
[/quote]
drop the code of this function, I'll look. And clarify, is this the basic code of some version of OpenCard or some module?
[/quote]
This is an openkart core from 1.5
admin/model/catalog/category.php
We also work with the category path, you need to enable the "Export the main category tree" setting in the action - then the paths will also have to change. Try it
We also work with the category path, you need to enable the "Export the main category tree" setting in the action - then the paths will also have to change. Try it
If suddenly the setting does not help, we can do repairCategories for the entire tree when exporting goods (although as far as I can see we do the same thing, just not as radically). It will take 1 hour in the form of setting.
If suddenly the setting does not help, we can do repairCategories for the entire tree when exporting goods (although as far as I can see we do the same thing, just not as radically). It will take 1 hour in the form of setting.
Unfortunately, I don't know what your requests are, how you do it, because the files that are there (api/oneboxsync), as I understand it, do not work Because those that are available are very "bad" $this->db->query("REPLACE INTO `" . DB_PREFIX . "category_path` (`category_id`, `path_id`, `level`) values ('" . $id . "', '" . $id . "', '1')" ); ESPECIALLY level = '1'
Unfortunately, I don't know what your requests are, how you do it, because the files that are there (api/oneboxsync), as I understand it, do not work
Because those that are available are very "bad"
$this->db->query("REPLACE INTO `" . DB_PREFIX . "category_path` (`category_id`, `path_id`, `level`) values ('" . $id . "', '" . $id . "', '1')" );
ESPECIALLY level = '1'
let him cook OneBox production wrote: We also work with path categories, you need to enable the "Export main category tree" setting in the action - then the paths will also have to change. Try it
Installed as if everything is working. Thank you! Let's see in a couple more days and write back finally
[quote]
let him cook
OneBox production wrote:
We also work with path categories, you need to enable the "Export main category tree" setting in the action - then the paths will also have to change. Try it
[/quote]
Installed as if everything is working. Thank you! Let's see in a couple more days and write back finally
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up