opencart

OpenCart: Fatal Error: Class 'Mysqli' Line 7

☆樱花仙子☆ 提交于 2020-01-11 13:06:20
问题 I have problem for installation OpenCart in cPanel with Softacolous, when I'm finished for install and during open the site I have message: Fatal error: Class 'mysqli' not found in /home/radiance/public_html/shoukhin/system/library/db/mysqli.php on line 7 ==Info:== OpenCart: Version: 2.0.3.1, 1.5.6.4 Release Date: 29-05-2015 Anything more to solve or get ans? Anyone there to solve it? 回答1: Please install mysqli into your centos server . To install mysqli using EachApache: Login to WHM as

Adding CSS stylesheet to pages based on route in OpenCart

烈酒焚心 提交于 2020-01-10 15:40:27
问题 I'm using opencart (version 1.5.1.3.1) for a client store, and am wondering what the best way to code it so I can have certain stylesheets added for certain routes. For example, on my category page I'd like to have a different stylesheet to the default one, or one that will over ride the default styles with my custom sheet. I have use for this for more than one route obviously, and want to do this with as little edits required as possible, so as to reduce the amount of edits in the framework

为OpenCart添加Below Header和Above Bottom两个模块显示位置

自闭症网瘾萝莉.ら 提交于 2020-01-07 19:15:01
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 功能:给OpenCart的模板添加两个部分,头部下面(Below Header)和底部上面(Above Footer),也即给模块的显示位置添加了这两个灵活位置,如下图所示: 安装及使用 1. 确保您的OpenCart系统安装了VQMOD;vqmod的安装请参考: http://www.opencartchina.com/bbs/topic27.html 2. 下载并解压缩后将xml文件传至您的网站vqmod/xml目录下; 3. 访问后台,就可以设置模块时选择Below Header和Above Bottom两个显示位置了。 下载地址: 为OpenCart添加Below Header和Above Bottom两个模块显示位置 来源: oschina 链接: https://my.oschina.net/u/991572/blog/195213

适用于 MyCnCart 和 OpenCart 的 vQmod

浪尽此生 提交于 2020-01-07 18:11:04
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 1. 下载下面的最新版本vqmod; 2. 使用ftp将解压后的vqmod目录上传到您mycncart商城网站的根目录,即与admin和catalog同级目录; 3. 确保vqmod/vqcache目录有可写权限 (755 或 777); 4. 确保根目录中的index.php以及admin/index.php文件为可写; 5. 使用浏览器访问你的网址,如:http://www.yoursite.com/vqmod/install,此时你应当的得到一安装成功的信息,如果没有,则请检查上述所说的权限问题,然后再试; 6. 加载您的商城网站首页,确认工作正常; 7. 使用ftp,确认在vqmod/vqcache目录下有新的vq文件;如果存在,您就可以开始下载或创建自己的vQmod代码了,否则,请寻求帮助。 如有任何问题,可以跟帖: http://www.mycncart.cn/forum.php?mod=viewthread&tid=93 来源: oschina 链接: https://my.oschina.net/u/991572/blog/418755

Notice: Undefined index: value in

自作多情 提交于 2020-01-07 15:47:01
问题 I'm trying to change a payment extension of Opencart 1.6.5.1. What I want to do is show the option value in the PagSeguro system, this extension makes the connection between Opencart and PagSeguro The code I want to edit is inside of this: /* * Produtos */ foreach ($this->cart->getProducts() as $product) { $options_names = ''; foreach ($product['option'] as $option) { $options_names .= '/'.$option['name']; } // limite de 100 caracteres para a descrição do produto if($mb_substr){ $description

Notice: Undefined index: value in

两盒软妹~` 提交于 2020-01-07 15:46:31
问题 I'm trying to change a payment extension of Opencart 1.6.5.1. What I want to do is show the option value in the PagSeguro system, this extension makes the connection between Opencart and PagSeguro The code I want to edit is inside of this: /* * Produtos */ foreach ($this->cart->getProducts() as $product) { $options_names = ''; foreach ($product['option'] as $option) { $options_names .= '/'.$option['name']; } // limite de 100 caracteres para a descrição do produto if($mb_substr){ $description

OpenCart 2.X – Alipay Cross border Mobile Payment Extension

送分小仙女□ 提交于 2020-01-07 15:36:14
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Overview This extension allows you to accept payments made via the Alipay Cross-border Mobile Payment gateway. The module supports all of the 16 currencies, and Fully support CNY(RMB) price for checkout. It is easily installed in your shop, without having to make any changes to the source code. Advanced & deeply integrated by Alipaymate.com (Certified Alipay Open Platform Developer) Features Extension development comply with the alipay payment specifications. Use alipay asynchronous notification to ensure order status consistent. Through the comprehensive

opencart Adding a custom menu in the header menu

柔情痞子 提交于 2020-01-07 07:02:21
问题 This is a tricky problem that I am having. I have a client / friend that wants on their open cart menu a button for home, which I was able to solve. However he wants a drop down menu for advice which holds 5 items. These 5 items are Faq's , Contact us , Delivery Details , Privacy policy and Returns policy . Straight forward enough however the pages are information pages. What I'd like to do is to link to these pages. The ID of the advise is 80 foreach ($children as $child) { if ($child[

opencart Adding a custom menu in the header menu

我只是一个虾纸丫 提交于 2020-01-07 07:02:03
问题 This is a tricky problem that I am having. I have a client / friend that wants on their open cart menu a button for home, which I was able to solve. However he wants a drop down menu for advice which holds 5 items. These 5 items are Faq's , Contact us , Delivery Details , Privacy policy and Returns policy . Straight forward enough however the pages are information pages. What I'd like to do is to link to these pages. The ID of the advise is 80 foreach ($children as $child) { if ($child[

undefined index (opencart)

偶尔善良 提交于 2020-01-07 04:33:06
问题 I'm trying to add a new input text in opencart, my view payment_method.tpl I added <label><?php echo $text_comments; ?></label> <textarea name="comment" rows="8" style="width: 98%;"><?php echo $comment; ?></textarea> <label><?php echo $text_referred; ?></label> // My Code <input type="text" name="referred" value="<?php echo $referred; ?>" /> In Controller payment_method.tpl I added if (!$json) { $this->session->data['payment_method'] = $this->session->data['payment_methods'][$this->request-