Re: Gift Wrapping Contribution
If by "1-3 items" you mean 1-3 of the same item, modify calculate_wrap_fee_oneitem() to compute $fee based on $wrapitems. If by 1-3 items, you mean the total number of items in the cart, modify calculate_wrap_fee() to return the number of items, sum it inside the loop where calculate_wrap_fee is called, and determine the fee after the end of the loop.
Re: Gift Wrapping Contribution
Loop the wha to the who?
I'm sorry Scott. I don't wanna mess up I'm going live in a week... if you know how I can code it for
Quote:
1-3 items, you mean the total number of items in the cart
TIA... if you get the chance :)
Re: Gift Wrapping Contribution
I'm going to update this mod (hopefully in late Sept) to add the ability to charge in different ways.
Re: Gift Wrapping Contribution
I have a design for making gift wrapping a per product selection at checkout time which I hope to implement before the end of October. Stay tuned.
Re: Gift Wrapping Contribution
The new 2.0 modules looks great, with features that are sure to be loved by many. I've been working with the previous version and this takes it to a whole new level. Thanks for working on this. :clap:
I downloaded from your website (http://www.thatsoftwareguy.com/zenca..._checkout.html) and installed, but now when I try to checkout I receive an error either after I have a cart and try to login or when I'm logged in and hit the checkout button on the cart that says "cannot redeclare class .... /includes/classes/order.php in line 20"
I'm wondering if I didn't get something copied to the correct location, so will work tomorrow on that. Has anyone seen anything similar? Thanks!
Re: Gift Wrapping Contribution
It sounds as though you may have simply renamed the original "includes/classes/order.php" to another file that still has the ".php" extension. Instead, rename it to (say) "includes/classes/order.php.old" This was it won't be loaded.
Re: Gift Wrapping Contribution
LOVE THIS MOD! Going to make a contribution for it right now.
Couple questions
Has anyone tried to integrate it into Super Orders Mod?
Where do I update the copy for the Gift Wrapping Poppup link?
Greg
Re: Gift Wrapping Contribution
Thank you. In answer to your questions:
- the popup is in ./includes/languages/english/extra_definitions/giftwrap.php
I'll add this detail to the install instructions.
- To integrate with Super Orders, just take that block of code from l. 501 - 555 and
paste it in to super_orders.php just before the inclusion of orders_download.php.
Actually, this is another great thing to add to the instructions.
Thanks,
Scott
Re: Gift Wrapping Contribution
Fantastic. Thanks for the quick reply.
Re: Gift Wrapping Contribution
hi Scott. Like most others i am very appreciative for your mods/work. I do have a question - and its not that big - but i was hoping to have the gift wrap attribute be under the other attributes. i made all the changes in terms of ordering the attributes and still it seems to be first in order. any idea how to move it to last in order?
if this is a frighteningly dumb question, i apologize in advance.
Thanks!