vqmod

How to clear cache in Opencart from PHP

本秂侑毒 提交于 2021-01-27 06:59:23
问题 I need to clear cache on certain condition from PHP code. How can I do so. I know that there is object Cache exists in opencart engine, but how do delete cache correctly. Or it is possible to delete just folders ? Please give advice. 回答1: In OpenCart there are 3 places that store cache image cache is located at public_html/image/cache if you have vQmod public_html/vqmod/vqcache system (data) cache public_html/system/cache You can delete files within these folders - do not delete the cache

VQmod not working for open cart admin

谁都会走 提交于 2020-01-14 18:51:52
问题 I am having the most frustrating issue with VQmod. I moved my OpenCart store from a Godaddy VPS to Rackspace's Cloud Sites. The move went fine and everything works properly except the VQmod's on the admin panel. None of them load. No errors in the log files, no admin cache files in the cache dir, no php errors. Things I have tried: Cleared all cache Changed admin folder to 755 reinstalled VQmod tried both manually and using the installer with fresh index.php files Removed all XML files and

Best way to modify OpenCart without touching Core and VQMOD/OCMOD

我的未来我决定 提交于 2020-01-01 05:30:13
问题 Is there a better way then using VQMOD / OCMOD to change OpenCart's core files? Is there some "overrides" folder exists so that I can simply create any PHP file corresponding to the file structure and simply override a core file? (Like it is possible in PrestaShop and Magento ). VQMOD / OCMOD is highly inconvenient. Does someone use any hacks & tricks to achieve the result? I don't want to touch any core files to keep the system clean and manageable. Thanks a lot! 回答1: If you want to call

Add a Custom Field on Opencart admin 'Order Info' page

痴心易碎 提交于 2019-12-23 08:56:35
问题 I want to add custom field on opencart admin order pages. compare value like if oc_order.order_id = oc_custom_table.order_id then display oc_custom_table.comment on admin order list. display same thing on admin order info page. I added a custom function in admin_model_order.php page where there all all queries. public function getCustomTable($order_id) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "custom_table WHERE order_id = '" . (int)$order_id . "'"); return $query->rows; }

vqmod logs opencart error

不羁的心 提交于 2019-12-12 06:31:55
问题 I had installed an extension which was working great, but after doing some modification it stopped working. and i was going through the vqmod/logs and found this error, can anyone please solve this issue? REQUEST URI : /index.php?route=product/category&path=81 MOD DETAILS: modFile : /home/public_html/vqmod/xml/add_option_category.xml id : version : 1.0 vqmver : author : OST File Name : catalog/view/theme/*/template/product/category.tpl(5) VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD

Get error when Code add via vqmod

爷,独闯天下 提交于 2019-12-12 06:04:20
问题 I have follow this answer Check module position in OpenCart 2.0 and it is working fine When add it code direct in core file. But, when, this same code (Step 3) add via Vqmod (without change core file). So, It is not work. Get error ( Notice: Undefined index: position in.... ) Our Vqmod Code. <file path="catalog/controller/common/" name="content_top.php,content_bottom.php,content_right.php,content_left.php"> <operation> <search position="after"> <![CDATA[$setting_info = $this->model_extension

Open cart product page goes blank upon theme upload (vQmod on)

纵饮孤独 提交于 2019-12-12 02:52:30
问题 Here's the scenario: Fresh install of Open Cart. Fresh install of vQmod. Everything is working fine. But when I upload certain theme - purchased and licensed - the site has an issue. The home page is working, but the product page goes blank. I have tried all possible combinations of OpenCart and vQmod versions (except for 2.0 for OC because the theme doesn't support it yet). I am out of ideas. Edit: After showing all errors as adviced I finally saw the reason : "oc_product_tab' doesn't exist"