Jump to content
thirty bees forum

mauroagr

Members
  • Posts

    41
  • Joined

  • Last visited

Everything posted by mauroagr

  1. mauroagr

    Carrier API

    Dear, I am using shipping agent that connect by api, but they are slow (8 s). All pages load the carrier, and this degrade the load time. Any have ideia to workaround when the api go slow? thanks. Mauro
  2. mauroagr

    API Speed Bad

    Dear Friends, I start to use the api from TB/PS, they work easy..easy. But, i see that the speed from reply are not good. Orders and orders status (20 orders query), return so slow compared with site speed results. Any use full api to work and see the same results or make some tunning in api script? Thanks Mauro
  3. Dear, Have one place that i can see the community themes running? Thanks Mauro
  4. Dear, An situation in migration from 1.0.7 to 1.0.8. I add some codes in config/settings.inc.php and in this upgrade, the TB override all file, deleting my custom configuration. I don't know if this is default or not. Thanks Mauro
  5. good....i will check it latter. Thanks
  6. @gmario i dont know the review module, is the same product comments?
  7. In any time you dont use https and other http, or have bad links that browser dont recognize the cookie?
  8. I think is this > https://github.com/thirtybees/thirtybees/issues/722 Any can confirm?
  9. Dear Friends, I have a lot of productcommets, but when i go in module in admin to list the comments, they not have pagination, then cause slow load. Any others find this situation or other issue that i dont know? Thanks Mauro
  10. Check if the TB are in SSL encryptation in Email configuration. I have problems here, they change to TLS after migration. I put SSL and all go fine. Mauro
  11. Dear, How is use to put the code in PSR standard. Any have the .php_cs file to configure php cs fixer? Thanks Mauro
  12. @traumflug said in Bug in stock to add product in backoffice: Let's track this: https://github.com/thirtybees/thirtybees/issues/622 I put here, in production, to test more the solution and working fine with the sugestions. I think this is important to test and patch, about the impact in stock is big if use admin to make orders or update it. Thanks... Mauro
  13. @dosbiner I don't use advanced stock, and i migrate from PS 1.6.0.14 to TB 1.0.7 Thanks Mauro
  14. I try to add product in backoffice, in a order but when i add the item....they reduct the stock two times. example: stock before add: 10 add in order: 2 expected stock result: 8 result in TB: 6 I solved here in controller/admin/AdminOrderController.php Line 2429 (comment the line): // StockAvailable::updateQuantity($orderDetail->product_id, $orderDetail->product_attribute_id, ($orderDetail->product_quantity * -1), $order->id_shop); Line 2775: Before: // Update product available quantity StockAvailable::updateQuantity($orderDetail->product_id, $orderDetail->product_attribute_id, ($oldQuantity - $orderDetail->product_quantity), $order->id_shop); After: StockAvailable::updateQuantity($orderDetail->product_id, $orderDetail->product_attribute_id, ($oldQuantity - $productQuantity), $order->id_shop); I dont right if this will impact in more places.... Thanks Mauro
  15. i solve it....context, the variable controller_type. Thanks Mauro
  16. Dear, i am making a override from carrier, but in then i will check if the load is from front office, or backoffice. How i can get this information in override? Thanks Mauro
  17. Try enable the debug, then if not show the error, check the error_log file in admin folder.
  18. @wakabayashi not work if i use the @Traumflug suggestion. I need use all public function renderView() { parent::renderView(); $this->tpl_view_vars['dados_garantia'] = '654654654'; return AdminController::renderView(); }
  19. @traumflug said in Override RenderView(): public function renderView() { $this->tplviewvars['dados_garantia'] = '654654654'; return parent::renderView(); } I try here and don't work. I dont know why. Only work with my solution.
  20. Solved! ``` public function initContent(){ parent::initContent(); } public function renderView() { parent::renderView(); $this->tpl_view_vars['dados_garantia'] = '654654654'; return AdminController::renderView(); } ```
  21. Dear, I am try to override the RenderView() function from adminOrdersController, without copy all function. I am try to add only some tplviewvars, but dont have success, i think is a little detail but don't find it. Have any idea? public function renderView() { parent::renderView(); $extra_var = [ 'dados_comment_order' => 5555, 'dados_garantia' => 'asdfasf' ]; array_push($this->tpl_view_vars, $extra_var); return parent::renderView(); }
  22. @colorful-ant Thanks. I will check it.
  23. I disable the updater, but the modules list to update stay showing.
  24. i will test it. Other problem is that i use github to versioning, but if i make some improvement in development, send to git...when i go make a deploy this update go direct to the production. The problem is if the module upgrade some think in DB, then if i versioning it, i lost this improvement. Any suggest to this? Mauro
×
×
  • Create New...