opencart

Opencart cart across multiple stores with different subdomains

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 21:15:53
Hi have a single opencart install setup with several stores with different subdomains (all under the same domain). I want customers to be able to put items in the cart on one site, then move onto the next and put in more or even subtract, till eventually a customer checkouts out on any store. Note products might appear in one store but not another. I notice opencart does this somewhat. ie it will bring products already in the cart to the next store but only if the products appear in both stores. Further if a customer then deletes one of the items and moves back to the same store, they product

trying to add jquery countdown timer for special price in opencart

空扰寡人 提交于 2019-12-03 20:25:14
i am trying to put jquery count down timer for special price in opencart. as we have start date and end date for special price in open cart admin panel, I want to have jquery count timer to show remaining (days:Hours:Min:SEC) for that special price. i get the code for jquery countdown and put in template file of product but its not working and no help or code on internet. thanks Excellent question. As you noted, the data you wish to display is already part of the admin/backend of OpenCart, but it is not available on the frontend. I'll show you how to add it. Due to the MVC architecture of

Calling OpenCart library functions in a PHP file outside of the framework

你。 提交于 2019-12-03 15:06:05
In a controller, I can easily call a function like this $this -> user->login('username','password'); But outside of the framework in a separate PHP file, how can I access that method? I tried something like this but it didn't work: include($_SERVER['DOCUMENT_ROOT'].'/mydir/opencart/system/library/user.php'); $userobj=new User(); $userobj->login('username','password'); Can you please help? Edit/Update: Here is what's inside my startup.php file: <?php // Error Reporting error_reporting(E_ALL); // Check Version if (version_compare(phpversion(), '5.1.0', '<') == true) { exit('PHP5.1+ Required'); }

OpenCart show category images on homepage? [closed]

人盡茶涼 提交于 2019-12-03 15:02:40
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center . I'm using the most up to date version of open cart. What I'm wanting to do is show the image from the store category page on every page page, as I'm wanting to implement it into the menu. You can see what I mean here: http://www.tomrawcliffe.com/portfolio/strings-r-us/ In the cetegory.tpl file I found: <?php if ($thumb) { ?> <div

OpenCart中PayPal Payments Standard(Paypal 标准支付方式)设置

廉价感情. 提交于 2019-12-03 09:19:40
当你安装Install (Paypal 标准支付方式)PayPal Payments Standard这个支付方式后,编辑Edit它,需要填写许多参数。 本教程<< OpenCart中PayPal Payments Standard(Paypal 标准支付方式)设置 >>由 OpenCart中国网站 制作,转载请保留此部分。 在你编辑Edit (Paypal 标准支付方式)PayPal Payments Standard之前,请先在PayPal网站登陆后做如下工作: 1. 登录paypal,点击profile(用户信息)进入我的用户信息页。 2. 在左侧导航里选择my selling tools(我的销售工具),然后点击右侧Website Payment Preferences(网站付款习惯设定)后面的update,做如下设置: Auto Return(自动返回): on; Return URL(返回地址):你的opencart网店地址,如 opencartchina.com Payment Data Transfer(付款数据传输): On; 付款数据传输开启之后,你会得到一个身份标记(Identity Token)—-开启后保存,再返回此页,标记显示在下面。这个身份标记要填入opencart后台paypal收款设置的PDT Token里面。 3. IPN设置:返回my

OpenCart之文章管理(Information)教程

混江龙づ霸主 提交于 2019-12-03 09:19:28
原文地址: http://www.opencartchina.com/bbs/topic992.html 如果对opencart感兴趣,可以加入QQ群:282797742进行讨论。 访问路径:商品目录(Catalog) -> 文章管理(Information),点击后出现下图所示: 点击【新增】Insert按钮,出现如下界面: 【文章标题(Information Title)】:此部分是文章的标题,在之前的版本中默认作为页面标题使用,但自2.0版本开始不再如此。 【文章内容(Description)】:此部分为文章的详细内容。 注意:有的人感觉OpenCart自带的CKEditor版本不好用,功能少,您可以参考这个帖子更新您的CKEditor版本:http://www.opencartchina.com/bbs/topic12.html 【网店(Stores)】:选择该文章显示于哪一个网店,此部分针对多网店有用; 关于OpenCart多网店功能,请参考《OpenCart之多网店教程》,文章地址: http://www.opencartchina.com/bbs/topic933.html 【SEO关键字(SEO Keyword)】:此处的填写,一定要确保全站的唯一性,如果是英文,单词之间用符号”-”链接。此部分的使用,可以参考【OpenCart之SEO教程】,或者一些帖子,如:

简介与安装

余生长醉 提交于 2019-12-03 09:19:16
作者: Alex.Lin 1 . 1 . OpenCart 介绍 OpenCart 是国外著名的开源电子商务网站,由英国人 Daniel 一人独立开发,其社区非常活跃,由各国网友翻译出来的语言包已经达到 18 种,其中包括中文,俄文,法文,西班牙文, 德文,日文等等。 OpenCart 的优势在于前台界面的设计非常适合欧美购物者的浏览习惯:简洁,直观,唯美! 后台也非常的简洁明了,而且功能强大,对于初学者来说非常容易上手,对于大多数经验丰富的网店经营者来说,OpenCart 的后台管理功能也基本能满足其需求。OpenCart 可以说是 最适合国内用户建设外贸网店的程序! 1 . 2 . 安装包和语言包的下载 先到 opencart中文站下载 安装包 和 语言包 . PHP 部署环境使用 XAMPP www.apachefriends.org/zh_cn/xampp-windows.html . 1 . 3 . 安装 O P E NCAR T 首先把下载下来的源码包解压到 php 的发布目录,以 XAMPP 为例,发布目录为 htdocs,本 文讲源码包解压到 htdocs 下,并改名为 op151. 然后进入 XAMPP 的 phpmyadmin 界面( localhost/phpmyadmin/ 默 认端口为 80),建立一个空的 MySQL 数据库。 phpmyadmin

OpenCart: How to make a global variable?

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to make two global variables within OpenCart. I basically want to be able to declare them in any of my .tpl files <?php echo $global1; ?> I have tried editing, library/system.php and also config.php by adding $global1="test" inside my files. However calling that in .tpl files is not working? Example, look at the file below, I want to be able to call these variables anytime.. do I have to edit config.php or what?? The example shows the $header call which is used on every .tpl file. not_found.tpl <?=$header?> <div class="breadcrumb

Rewrite condition is not working

匿名 (未验证) 提交于 2019-12-03 08:30:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: How to rewrite the URL for my search page in opencart that is like http : //IP/opencart/index.php?route=product/search&filter_name=24 But I need to display it like http : //localhost/opencart/product/search/42 orelse in any formate that is an userfreindly.I have tried like RewriteEngine On RewriteBase / opencart RewriteRule ^ sitemap . xml$ index . php ? route = feed / google_sitemap [ L ] RewriteRule ^ googlebase . xml$ index . php ? route = feed / google_base [ L ] RewriteCond %{ REQUEST_FILENAME } !- f RewriteCond %{ REQUEST

change font size after decimal point

Deadly 提交于 2019-12-03 08:28:55
i am working with a Opencart eCommerce website, i need to customize product price font size, for example: product price: $ 250.50 i need to set font size for $ = 16px; 250 = 22px; .50 = 14px; how can i set different font size for a single amount..??? this s my dynamic php code that display price text to my product page: <span class="price"><?php echo $product['price']; ?></span> my product list page not a single product with price, there is a lots of product with price list. thanks for any help, if anybody asked same question before here, please share with me that links... $.each($('.price'),