New Zenner
- Join Date:
- May 2005
- Posts:
- 28
- Plugin Contributions:
- 0
Gift Wrapping Contribution
I didn't install this yet but is it possible to have only certain products have gift wrap option? Or this isn't possible?
Views: 90,275
New Zenner
I didn't install this yet but is it possible to have only certain products have gift wrap option? Or this isn't possible?
Administrator
It is; there is an exclude_product() function in the module which allows you to exclude specific products.
New Zenner
Hello
I wonder if someone could help.
I've installed this module and there appears to be a problem where when only one product is purchased and ticked for wrapping the orders.php, invoices.php and packingslip.php (and I believe the emails too) list more than one item for gift wrapping.
Can you shed any light on this for me?
Thanks
Andy
New Zenner
I was still unable to uninstall this. yes im an idiot i did not perform a back up on the store. But i am still receiving the same error. I went ahead and replaced the orders.php file and this did not fix the issue. Any other ideas?
Previous post:
I had this installed but what i was trying to accomplish with this did not work the way i wanted it to. I removed it (uninstalled) and now when anyone places an order and i click on their order i get this error:
1146 Table 'vb.orders_giftwrap' doesn't exist
in:
[select orders_products_id, wrap, wrap_config, wrap_name from orders_giftwrap where orders_id = '4']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Any idea how to fix this because i cannot view any of my orders
Administrator
You need to restore all the files in admin that were changed in this mod with copies from a fresh copy of the download of your version (since you didn't make a backup). There are four files in admin:
./packingslip.php
./invoice.php
./includes/classes/order.php
./orders.php
New Zenner
Thank you so much for this fix. Thanks!!!
New Zenner
While running test transactions I came across an anomaly that I believe I isolated to the Gift Wrapping module. I am using Zen Cart 139h and Gift Wrapping version 2.8_139. An error occurs when a customer uses gift certificate funds as part of the payment for a purchase. At the confirm payment step, the cart is not recognizing the gift wrap cost (including its tax) when specifically assessing the unpaid balance remaining after applying the gift certificate funds.
Example 1: I purchase an item for $10.00 and add gift wrapping for $5 for a total of $15. I will apply $12.00 from my gift certificate account funds toward this purchase, At the confirm payment step, ZenCart evaluates the purchase and appears to conclude that my payment is paid in full and sends me to the "Thank You" for your purchase page and records the completed purchase as paid by "Gift Certificate/Coupon." It does not pass the $3.00 unpaid balance on to my payment processor for billing purposes. The information ZenCart records in my customer account and in the Admin order record correctly shows there is an unpaid balance of $3.00 for this transaction and correctly deducted $12 from gift certificate account available balance - all of the details are accurate, however, I, the customer, did not get charged.
Example 2: Now if were to instead apply $9.99 of gift certificate funds to this same purchase thereby not covering $.01 of the item's $10.00 cost; when I confirm the purchase, ZenCart recognizes there is an unpaid balance and accurately passes $5.01 ($.01 product + $5 gift wrap) on to my payment processor (in my case PayPal) to be paid. This is why I conclude that ZenCart compares the gift funds to the item cost only and does not recognize gift wrapping costs in its evaluation.
(My examples here simplistic, I ran many test transactions with shipping costs, taxes, multiple products and so on before being able to determine this is where the problem appears to be.)
If I am correct, wherever this decision point occurs in ZenCart, the code needed to tell the program to include gift wrapping costs may have been overlooked in the module's programming. This is a minor issue for this excellent module. This type of transaction will likely occur very, very infrequently and the consequence is minor, i.e., all or part of the gift wrapping charge may not be recovered. We make heavy use of gift certificate awards to our customers and that is why I was testing and ran into the problem. Assuming I am correct, I thought it helpful to make the community aware of the potential problem and have it noted as something to fix with a future upgrade/release.
If I'm wrong, I'm back to square one and completely befuddled.
Administrator
Replicated. But it's a bug in gift certificate handling, not gift wrap; gift wrap does not interact with payment processing.
New Zenner
Thanks for looking into this and confirming the problem. Apologize for pointing the finger your way incorrectly, although disappointed it is not something you may have been able to fix.
Zen Follower
Pretty seamless implementation, however I cannot find the last step in my admin panel (the place I need to input the ID numbers)
Mod Configuration
The module is configured under Modules->Order Total->Gift Wrap
Choose a fee for gift wrapping
Enter the ID number of the gift wrapping option name in the Gift Wrapping Option Name ID field.
Enter the ID number of the gift wrapping requested option value in the Gift Wrapping Option Requested Value ID field.
If you have more gift wrapping options (such as "Premium" or "Add Ribbon and Bow", as described above), you will add these later outside the admin screen.
By default the sort order is just below "Shipping" on the checkout page. If you wish to move it, be sure you keep it above "Tax" if your "Re-calculate Tax" is set to "Standard."
That part.
Where do I enter in those ID numbers? In Modules > Order Total > Gift Wrapping I only see:
Sort Order
Include Tax
GW Flat Fee
GW Per Item Fee
Free GW for items over
Recalculate Tax
Wrap SElection option.
Can anyone help please?
Zen Follower
Also, I just noticed that when I add the gift wrapping option, the user cannot add the item to their cart via the 'product listing' where they can see more than one product at a time. They have to select the product, and then choose the gift wrapping option. Is there a way to restore the quantaty box so people can add it directly from here and skip their gift wrapping chance? We want the option of gift wrapping but we also want the functionality of adding products to their cart from the main listing page.
Zen Follower
here is where you can see what I am talking about from the product listing.
http://testmulberry.com/index.php?main_page=index&cPath=17
We don't want gift wrapping to be contingent of the actual purchase. We just want it to be an added feature. I hope I am making sense. Thanks a lot!
Administrator
Are you using an older version of Zen Cart and Gift Wrapping? If you upgrade to 1.3.9, the logic is all done at checkout.
Zen Follower
Both are very new and current versions.
Where do I go to finish the installation? To answer my post at the bottom of this page
http://www.zen-cart.com/forum/showthread.php?t=53476&page=29
Administrator
You quoted the instruction
Enter the ID number of the gift wrapping option name in the Gift Wrapping Option Name ID field.
This only exists in the 1.0 version of the module. You need to get the latest and greatest. For 1.3.9, it's 2.8_139.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=407
Get the one at the top of the page, not the bottom of the page.
Zen Follower
I'm very sorry, I was just following the instructions on the info page.
I have the new download, I was just referring to old instructions.
Administrator
Gotcha. You want the new instructions and the new files. Then the ID stuff goes away except for things you want to NOT offer gift wrap on. Also, no attributes so you can buy from the listing pages as before.
Zen Follower
I usually read the 'Read Me's, but this time I did not as I was following your websites instructions. The read me instructions work great. No problems
Only question now is formatting of the gift wrapping box upon checkout. Where can this be edited at?
Administrator
davisz:
I usually read the 'Read Me's, but this time I did not as I was following your websites instructions.
The first line of which says "This contribution has been obsoleted by Gift Wrapping at Checkout." :)
I guess I should repeat that message once or twice in the file.
Only question now is formatting of the gift wrapping box upon checkout. Where can this be edited at?
You'll want to look at the checkout_shipping_default template. This is somewhat hairy; proceed with caution.
Zen Follower
I do not want to mess with the files and ruin your great mod on my site!
My only question is the words Item Name: and Wrap? At the top of the table. They are too far to the right and look out of place. If this is unfixable, no big deal - I greatly appreciate your incredible mod!
Fields marked required must be completed.
Tell staff why this post should be reviewed.