Re: Add notice on cart page for free shipping
No, if you want a real "notice" then you will need to use the Ajax already written for you with the Ajax Cart. Otherwise your customers will need to refresh their browser to see any kind of notice. That defeats the purpose. :) I'm not sure what you mean by this. If you go to http://ogomo....
Jump to post- Sat Mar 24, 2012 3:18 am
- Replies 3
- Views 799
RESOLVED Re: Add notice on cart page for free shipping
UPDATE: I think I figured out the error. In between <?php } ?> and </table>, I put the following: <tr> <td colspan="2" align="right"> <?php $disp_tot=$this->cart->getSubTotal(); $freeship="50"; $is_freeship=$freeship-$disp_tot; if ($is_freeship<="0") { echo 'C...
Jump to post- Sat Mar 24, 2012 2:15 am
- Replies 3
- Views 799
Add notice on cart page for free shipping
Hi, I am using OC 1.4.9.4, and I would like to add a notice on the cart page (catalog/view/theme/mytheme/template/checkout/cart.tpl) that displays one of two notices to a user depending on the sub-total in their shopping cart. I offer free shipping on orders with sub-totals over $50 (i.e. tax is not...
Jump to post- Sat Mar 24, 2012 12:14 am
- Replies 3
- Views 799
Re: Shopping cart doesn't empty after successful payment
Update: I have tested this a couple different ways, and I believe the problem originates when the user uses Safari as their web browser. The customer who was having this trouble was using Safari, so I was at least able to narrow that down! My test went as follows (note, I created a new customer acco...
Jump to post- Thu Feb 23, 2012 4:26 am
- Replies 5
- Views 2622
Shopping cart doesn't empty after successful payment
I am running an OC store on v 1.4.9.4. It is a fresh install with only one modification, the Global Mega Options add-on http://www.alreadymade.com/shop/globalmegaoptions . I am using PayPal Standard as my payment method. I tested the store by going through and making a purchase. Everything seemed to...
Jump to post- Tue Feb 21, 2012 10:52 pm
- Replies 5
- Views 2622
Re: upsell in checkout or cart
If you're still looking for a way to add a product at the checkout screen, follow these steps: 1) Create a product that you'd like to sell on the checkout screen if it isn't already created. This product can have options, or not. 2) Get the product ID for this particular product. Go to the product p...
Jump to post- Tue Feb 14, 2012 6:20 am
- Replies 8
- Views 2098
Re: Up-sell Product with Option On Shipping Page
Ok, I think I have it working now. I moved the form above the shipping address field so now, in order, there is: 1) The form to add this product to the cart 2) The shipping address field 3) The shipping method field The form that I was creating was included within the form that updates the shipping ...
Jump to post- Tue Feb 14, 2012 5:48 am
- Replies 14
- Views 2094
Re: Up-sell Product with Option On Shipping Page
The form I'm trying to use is on the checkout page. It is in the yellow box under the shipping address, and above the shipping method boxes. See the attached screenshot, which shows the form I'm trying to use. Delivery Information-142930.jpg When I click the add to cart button next to the drop down ...
Jump to post- Tue Feb 14, 2012 3:37 am
- Replies 14
- Views 2094
Re: Up-sell Product with Option On Shipping Page
Were you able to add the product from the product page http://ogomo.com/index.php?route=product/product&path=190&product_id=580 , or the checkout shipping page https://ogomo.com/index.php?route=checkout/shipping ? I don't have a problem with adding it from the product page. It's the checkout...
Jump to post- Tue Feb 14, 2012 3:21 am
- Replies 14
- Views 2094
Re: Up-sell Product with Option On Shipping Page
This is the product that should be added from the form on the shipping page. http://ogomo.com/index.php?route=product/product&path=190&product_id=580 Add any other product to the shopping cart and go through the checkout process. When you get to the shipping page, I included the form from my...
Jump to post- Tue Feb 14, 2012 3:10 am
- Replies 14
- Views 2094
Re: Up-sell Product with Option On Shipping Page
OK, that fixed the "Notice: Undefined index: product_id..." warning I was getting.
Now, when I click on the Add to Cart button, it doesn't add the product to the cart. It seems as if the form doesn't do anything (regardless of which option I choose in the drop-down).
- Tue Feb 14, 2012 3:03 am
- Replies 14
- Views 2094
Re: Up-sell Product with Option On Shipping Page
Again, the attached file is the one found in: catalog/controller/module/cart.php
Jump to post- Tue Feb 14, 2012 2:39 am
- Replies 14
- Views 2094
Re: Up-sell Product with Option On Shipping Page
Line 118 of catalog/controller/module/cart.php is: $this->cart->add($this->request->post['product_id'], $this->request->post['quantity'], $option); I'm not entirely sure why this warning shows up. The code I'm using is the same code from the product page, so I can't imagine why it isn't working corr...
Jump to post- Tue Feb 14, 2012 2:19 am
- Replies 14
- Views 2094
Re: upsell in checkout or cart
I've tried to sort of force this sort of up-sell feature to show up on the shipping page at checkout, without much luck.
I also posted this here: http://forum.opencart.com/viewtopic.php?f=20&t=53116
- Tue Feb 14, 2012 1:47 am
- Replies 8
- Views 2098
Up-sell Product with Option On Shipping Page
I'm trying to add a form to the shipping page at checkout as a way to up-sell a particular product. I created the product just like I would any other product with several options. I then copied the form code found on that product's page, to the Shipping Page at checkout. I'm able to get the form to ...
Jump to post- Sat Feb 11, 2012 6:07 am
- Replies 14
- Views 2094
Re: upsell in checkout or cart
I'm looking for the same type of thing, but haven't had any luck yet.
Jump to post- Sat Feb 11, 2012 12:18 am
- Replies 8
- Views 2098
Re: Add product into Cart using Query String
I understand how to add a product to the cart using a URL as was previously discussed. But what if that product has several options? Is there a way to specify color, size, or other option variable in the URL? I tried something like: http://mysite.com/index.php?route=checkout/cart&product_id=580&...
Jump to post- Fri Jan 20, 2012 5:47 am
- Replies 38
- Views 32813
Re: Massive errors in logs/error.txt
This error originates from an XML file which has an error in the code. This has nothing to do with the VQMod constructor. The error you see is what is being returned from that targeted XML. If this isn't a paid contribution, could you upload your XML file as an attachment ? I assume you mean one of...
Jump to post- Thu Jan 19, 2012 4:10 am
- Replies 6
- Views 3513
Re: Massive errors in logs/error.txt
The full code from that file is: <?php final class Front { protected $registry; protected $pre_action = array(); protected $error; public function __construct($registry) { $this->registry = $registry; } public function addPreAction($pre_action) { $this->pre_action[] = $pre_action; } public function ...
Jump to post- Thu Jan 19, 2012 1:26 am
- Replies 6
- Views 3513
Massive errors in logs/error.txt
Hi, I'm receiving the following error a lot in my system/logs/error.txt file: 2012-01-17 16:00:10 - PHP Warning: require_once(/home/mydomain/public_html/) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/mydomain/public_html/vqmod...
Jump to post- Wed Jan 18, 2012 1:56 am
- Replies 6
- Views 3513