greysun Posted September 25, 2002 Share Posted September 25, 2002 I use the following for shipping normal items 100:6.50,250:9.00,10000:0.00 Based on price instead of weight. I need to be able to charge shipping on everything but the gift vouchers. Is this possible Quote Link to comment Share on other sites More sharing options...
Ian Posted September 25, 2002 Share Posted September 25, 2002 Greysun, I do have some code to amend the total cost returned to the shipping method. I'll hunt it out later today and get back to you. Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
greysun Posted September 25, 2002 Share Posted September 25, 2002 Thank you Hope to hear from you soon Quote Link to comment Share on other sites More sharing options...
Ian Posted September 25, 2002 Share Posted September 25, 2002 greysun You need to edit /includes/modules/shipping/table.php line 44 should read $order_total = $cart->show_total(); change this to $order_total = $cart->show_total_virtual(); I've never tested this so your feedback would be appreciated Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
greysun Posted September 26, 2002 Share Posted September 26, 2002 FOr some reason this didnt work. What it did do was add $2.50 to the shipping charge but only on the second purchase of a gift voucher Not sure whats going on Thank you for the suggestion though. Any other ideas? Quote Link to comment Share on other sites More sharing options...
greysun Posted September 26, 2002 Share Posted September 26, 2002 Even if I could just pass the shipping fee into the voucher account that would be ok. That way I could sell the vouchers + shipping and make a note that the shipping fee is added to the total of the voucher. Not sure if this is possible. Of course it would be better if the shipping fee just wasn't there Quote Link to comment Share on other sites More sharing options...
Ian Posted September 26, 2002 Share Posted September 26, 2002 greysun Sorry that did not work, not sure what you mean by second purchase of Gift Voucher. I never really got a chance to test the code so will do that, using your table rates and get back to you. Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
greysun Posted September 26, 2002 Share Posted September 26, 2002 Ok, thank you for all your help What I meant was in I went in a bought the first gift voucher after making the changes you suggested it charged $6.50 S&H then I went back in and decided to try it one more time and this time it charged $9 for shipping as if I had purchased over $100 as per my table This is almost the last peice of the puzzle before the sight will be the way I need it. I really do appreciate your help Quote Link to comment Share on other sites More sharing options...
Ian Posted September 28, 2002 Share Posted September 28, 2002 Sorry for the delay, First a bit of editing open /catalog/includes/classes/shopping_cart.php Find the lines function calculate() { $this->total = 0; and add straight after this $this->total_virtual = 0; also make sure you add 0:0, to the begining of your table rate definition. That should fix it. Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
greysun Posted September 29, 2002 Share Posted September 29, 2002 This works perfectly so far Thank you so much for your help The gift vouchers are going to be a big asset Quote Link to comment Share on other sites More sharing options...
Ian Posted September 29, 2002 Share Posted September 29, 2002 Wipes sweat from brow, issues deep sigh. Glad that worked, amazing what one line of code can do. Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
cysoft Posted September 30, 2002 Share Posted September 30, 2002 WHERE CAN I DOWNLOAD GIFT VOUCHER? I NEED HELP PLEASE Quote Link to comment Share on other sites More sharing options...
Ian Posted September 30, 2002 Share Posted September 30, 2002 It's in the contributions section. However I'm currently investigating a bug report concerning v3.1 which means you can't redeem a voucher at checkout. If anyone else out there is using 3.1 could they please confirm or deny this. It may be an install issue with the person concerned rather than an actual bug. If it is a bug, i'll have a fix sometime tonight. Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
mpdaddy Posted October 1, 2002 Share Posted October 1, 2002 Ian It may be true, I installed this mod and cannot figure out how to use it at checkout. No option to use it, nor does it display anything related to gift voucher on the checkout_confirmation.php page. Regards Wayne Quote Link to comment Share on other sites More sharing options...
Ian Posted October 1, 2002 Share Posted October 1, 2002 This is probably because you have not enabled the module in admin. Go to admin->modules->order_total and enable the gift voucher. Make sure you adjust the sort order of the order total modules. Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
mpdaddy Posted October 2, 2002 Share Posted October 2, 2002 Ian It was enabled and it does not show any option to use the gift voucher when checking out. Please check my configuration for me if you have time. http://www.redtag.net/admin/ Send yourself a gift voucher and create an account and try to use it. If you need to see any files, let me know. Information: I have it set so it does not queue the GV. I have your coupon contribution installed. I have double and triple checked my installation steps. Please play with it and help me find what's wrong. Regards Wayne Quote Link to comment Share on other sites More sharing options...
Ian Posted October 2, 2002 Share Posted October 2, 2002 Wayne, Yep, definitely something wrong with your set up. Can you email me the following files checkout_payment.php /includes/classes/order_total.php /includes/modules/order_total/ot_gv.php Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
MeMadMax Posted September 28, 2003 Share Posted September 28, 2003 Hi Did I miss something? The only time a customer can buy/send a gift voucher is at checkout, if a customer does not buy something how will then send a gift voucher to a friend? Is there a gift voucher infobox? thanks Quote Jim -------------------------------------------------------------------------- How can you tell when your out of invisible ink? Of all the things I've lost, I miss my mind the most! Link to comment Share on other sites More sharing options...
aroseland Posted October 21, 2005 Share Posted October 21, 2005 Hi Ian, From reviewing the forums, you seem to be the guru. I am trying to provide potential customers with a coupon code to use at checkout. I installed ccgv 5.13 My problem is in the admin -->configuration page there is nothing about gv or discount welcome message. This is apparently the only place to add/edit the code that I want to give out to people. What have I done wrong, or do I need to do? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.