opencart

WAMP Server not displaying images

别说谁变了你拦得住时间么 提交于 2019-12-02 06:01:41
I'm having a problem which I don't know what to search in google. Basically I have installed WAMP server and Installed OPen Cart I am able to view my ECommerce site on my local computer but when I open it in on a remote computer it doesn't load any images. It only shows texts My scenario: if I load the PHP page at http://192.168.1.101/ it works fine. I am able to view the WAMP server page which I put in the root directory but when i load the ecommerce pages at http://192.168.1.101/clothing/ it doesn't load the images. As if the PHP scripts are not working on it. Funny thing is it works fine on

Internet Explorer jQuery Redirect

邮差的信 提交于 2019-12-02 05:36:08
问题 I am currently working on http://thetradinghouse.co.nz and I have an issue when accessing the cart the process that is taken is. Select Category. Select a product and open the products page. Click add to cart. The product adds to the cart but the page redirects to the category page with the uri http://www.thetradinghouse.co.nz/sporting-goods/index.php?route=checkout/cart The above step should just load http://www.thetradinghouse.co.nz/index.php?route=checkout/cart Like it does in Chrome and

cant connect opencart to mySQL database

核能气质少年 提交于 2019-12-02 04:55:57
I'm trying to set up opencart for my website, but when I fill in everything for the MySQL database I get this error: No connection could be made because the target machine actively refused it. I've tried putting it on localhost, I've tried on 127.0.0.1. when I try on 192.168.1.126 (the database server) it says it can't find the database the server hosting the PHP site is on 192.168.1.125 I'm very new to SQL, I really don't understand it fully. I'm creating a new database in SQL workbench. and filling in the info I need. How to I fix this error? My guess is that your DB user is only allowed to

Internet Explorer jQuery Redirect

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 02:28:20
I am currently working on http://thetradinghouse.co.nz and I have an issue when accessing the cart the process that is taken is. Select Category. Select a product and open the products page. Click add to cart. The product adds to the cart but the page redirects to the category page with the uri http://www.thetradinghouse.co.nz/sporting-goods/index.php?route=checkout/cart The above step should just load http://www.thetradinghouse.co.nz/index.php?route=checkout/cart Like it does in Chrome and Firefox I am using the following SEO Module and have been in contact with the developer whom I have

how to make opencart multi-store share same cart over multiple TLDs?

牧云@^-^@ 提交于 2019-12-02 02:05:44
问题 I have the following scenario: domain1.com - store1 - opencart 1.5.6 installed domain2.com - store2 domain3.com - store3 I managed to install all 3 stores on different domains and all of them are using the same opencart install (store1). So far all seems to work properly. What I need is when the user is on domain1.com , adds product1 in his cart, then navigates to store2 (domain2.com) and adds product2 in his cart - now he should have both product1 from shop1 and product2 from shop2 in his

how to make opencart multi-store share same cart over multiple TLDs?

你离开我真会死。 提交于 2019-12-02 01:33:09
I have the following scenario: domain1.com - store1 - opencart 1.5.6 installed domain2.com - store2 domain3.com - store3 I managed to install all 3 stores on different domains and all of them are using the same opencart install (store1). So far all seems to work properly. What I need is when the user is on domain1.com , adds product1 in his cart, then navigates to store2 (domain2.com) and adds product2 in his cart - now he should have both product1 from shop1 and product2 from shop2 in his cart. In other words, all stores should behave like one, if the user is logged in into store1 then he

Payment Gateway integration in Opencart

限于喜欢 提交于 2019-12-01 18:43:41
I want to integrate CitrusPay (An indian payment gateway) in my opencart application. I have received a PHP integration kit but don't know where to start in opencart. Please let me know how to add Citruspay as a payment method. Naveenbos You can edit and modify these files: /var/www/opencart/catalog/controller/payment /var/www/opencart/catalog/model/payment /var/www/opencart/catalog/view/theme/ You can see two folder default and other one you can place it in that other folder in that folder should have template/payments here you have put your .tpl file - PHP MVC. Then take your admin: /var/www

Payment Gateway integration in Opencart

微笑、不失礼 提交于 2019-12-01 17:12:42
问题 I want to integrate CitrusPay (An indian payment gateway) in my opencart application. I have received a PHP integration kit but don't know where to start in opencart. Please let me know how to add Citruspay as a payment method. 回答1: You can edit and modify these files: /var/www/opencart/catalog/controller/payment /var/www/opencart/catalog/model/payment /var/www/opencart/catalog/view/theme/ You can see two folder default and other one you can place it in that other folder in that folder should

Add 'plus' 'minus' in place of 'add to cart' in opencart

孤者浪人 提交于 2019-12-01 12:56:14
I want to replace add to cart with 2 buttons that are plus and minus in OpenCart 2.0.1.1, Now i am unable to code for minus button properly. I have added plus and mius button in catalog/view/theme/*/template/module/featured.tpl and make call in catalog/controller/api/cart.php and in common.js I have put url like url: 'index.php?route=checkout/cart/minus and rest of code is below system/library/cart.php public function minus($product_id, $qty) { $this->data = array(); $qnt1 = 1; $product['product_id'] = (int)$product_id; $key = base64_encode(serialize($product)); if ((int)$qty && ((int)$qty > 0

Opencart successful order ID and Total from JavaScript

删除回忆录丶 提交于 2019-12-01 11:51:38
I need to run JavaScript on the successful order's page and get two things: order ID and total order amount. The code looks like: <script type="text/javascript"> // Some code here arr.push([ "create_order", {order_id: "*order_id*", sum: *sum*} ]); </script> Questions Where should I paste my script? If into success.tpl than where exactly? If into header.tpl than how to run it only on the page of successful order? Which variables I should to use? I have tried this, it did not work: {order_id: "<?php echo $order_id; ?>", sum: <?php echo $product_total; ?>} P. S. Opencart version is 1.5.6 The