opencart

2015迎新春OPENCART模板送150元折扣券

只愿长相守 提交于 2019-12-25 20:18:25
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 为感谢广大用户对于OpenCart的厚爱与支持,本商城特此推出150元折扣券,用于大家购买使用正版OpenCart模板。 介绍如下: 1. 购买香港云服务器空间任何一款产品,同时购买任意一款模板均享受150元折扣券; 2. 活动日期截至2015年3月15日; 详情访问 OpenCart 商城专业建站 http://www.chinaopencart.cn 来源: oschina 链接: https://my.oschina.net/u/991572/blog/380561

I purchased ssl from godaddy but domain url redirection have issue

蓝咒 提交于 2019-12-25 11:49:08
问题 i dont know whats wrong with my settings .i am using opencart 2.3.0.2 .Enabled ssl from settings of my cms. when i run https:sharishari.com it works fine. i want when i or any one enter my domain name sharishari.com it should redirect to https:sharishari.com each time i have to write complete url with https to go on https. and second thing its view is non responsive and non functional when i write sharishari+ctrl Enter . here is my root config file i removed www from the domain and admin

Get Opencart Order ID in COD Payment Module Redirect Link

孤街浪徒 提交于 2019-12-25 09:38:51
问题 First of all thank you for giving your valuable time to help me. My Situation - I am using Opencart 2.1.0.1 Cash on Delivery Payment Method Custom OnePageCheckout Custom Theme I have implemented a custom process which verifies the customer from our own database via a cron job running every minute. This is the default code in Opencart catalog/view/theme/template/payment/cod.tpl <div class="buttons"> <div class="pull-right"> <input type="button" value="<?php echo $button_confirm; ?>" id="button

When module Enabled in Content left & right panel so I want to hide javascript code in OpenCart

倾然丶 夕夏残阳落幕 提交于 2019-12-25 08:55:11
问题 I have add small javascript code in featured.tpl module OpenCart. So, when, featured module Enabled in Content top & bottom part. so, I want to show(run) it javascript code. but, when featured module Enabled in Content left & right panel. so, I want to hide(not run) it javascript code. Please guide me :) 回答1: I have found solution. in .tpl file <?php if ($module['position'] == 'content_bottom' || $module['position'] == 'content_top') { ?> //add your code Here <?php } ?> add in .php file $this

number of quantity to is not working in Opencart

删除回忆录丶 提交于 2019-12-25 07:52:57
问题 I added to increase quantity using jquery code $(".quantity-adder .add-action").click(function () { if ($(this).hasClass('add-up')) { var text = $(this).parent().parent().parent().find("[name=quantity]", '.quantity-adder') text.val(parseInt(text.val()) + 1); } else { var text = $(this).parent().parent().parent().find("[name=quantity]", '.quantity-adder') if (parseInt(text.val()) > 1) { text.val(parseInt(text.val()) - 1); } } }); when i add this code in product page, and clicking the plus

duplicate output fro mysql

大憨熊 提交于 2019-12-25 07:32:54
问题 MySQL query gives duplicate data in query result. Here is how I am trying to avoid it. Actual query: $product_sql_test2 = $this->db->query("SELECT p.product_id, p.price, pc.product_id AS product_id FROM oc_product p INNER JOIN oc_product_to_category pc ON p.product_id = pc.product_id WHERE p.price BETWEEN '".$product_info['related_kv4nt_min_2']."' and '".$product_info['related_kv4nt_max_2']."' AND pc.category_id = '".$product_info['related_kv4nt_id_2']."' GROUP BY pc.product_id ORDER BY RAND(

Why Opencart is not passing variable from module to view file?

荒凉一梦 提交于 2019-12-25 05:35:13
问题 I am new to the opencart.By default Opencart featured product shows product description and price but now I want product discounted prices in featured product section so I changed my featured product code and added code to show discount price. Here is the complete code for featured product <?php class ControllerModuleFeatured extends Controller { protected function index($setting) { $this->language->load('module/featured'); $this->data['heading_title'] = $this->language->get('heading_title');

Opencart how to related 2 options in a product

浪尽此生 提交于 2019-12-25 05:07:05
问题 Hello I have the following problem. I have a product with two different options, size and color. But I didn't know how to related this options when someone is buying a product. For example. I have 4 T-shirt on my inventory 2 Blue T-shirt size S 1 Green T-shirt size L 1 Yellow T-shirt size XL I configured the product with these requirement options (size and color), but for example a customer can buy a T-shirt size XL color blue and that's wrong because I didn't have a way to related the color

How to set discount price for all products globally in opencart

此生再无相见时 提交于 2019-12-25 02:22:19
问题 I need a discount price in all products in store to -5%. It has to show in product detail page and also product listing page like the individual discount price (strike-through). I want to apply the discount to all products in store globally. As i have tried, we have option to set discount price in the option tab while adding products but adding discount for each product seems to be long process. So i want to apply it globally. Any help or ideas will be greatly appreciated. I checked some

Paypal pro configuration issues in Opecart

試著忘記壹切 提交于 2019-12-25 01:55:35
问题 I am develop site with Opencart . Integrate PayPal Website Payment Pro with test mode . Select Test Mode yes in admin panel. But in front side when i go for payment and enter visa card number and other stuff and click confirm payment then display error This transaction cannot be processed due to an invalid merchant configuration. I follow below steps: Log out Paypal account clearing browser cache and cookies (I use firefox). Go to developer.paypal.com and login with the real paypal account