Display no shipping text
Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=3370
Printed Date: 01-March-2025 at 3:19am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Display no shipping text
Posted By: lelady
Subject: Display no shipping text
Date Posted: 22-January-2010 at 3:52pm
So I'm working with coupon codes to assign free shipping to products in our store.
To let my customers know which items qualify for free shipping, I've assigned in the languages file, an image to be used when "display no shipping text" is selected at the product level.
What I'm finding though, is unless "No shipping required" is selected at the product level, the language will not show up in the store....can somebody please direct me to where I need to make the switch so that the "No shipping Required" does not have to be selected so that the language assigned to "display no shipping text" will show up on the page?
Thanks!
Vicky
|
Replies:
Posted By: lelady
Date Posted: 27-January-2010 at 1:10pm
Really?? No answer?
Did I explain this well or is it an obvious answer that I have somehow missed in the WIKI?
Please - someone say something!! 
Vicky
|
Posted By: Greg Dinger
Date Posted: 27-January-2010 at 1:25pm
something.
Sorry, I don't have an answer without digging into the code.
------------- GreyBeard Design Group
Certified ProductCart Developer
Web Design/Development/Hosting
http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |
|
Posted By: Hamish
Date Posted: 27-January-2010 at 3:50pm
Coupons are not processed until during the checkout, so there is no code regarding them (AFAIK) in the sections of the code which are used when displaying products. Coupons have a variety of criteria so it's usually not possible to "do" anything meaningful with them before that point.
Your mixing two different things here. The "No Shipping" option on a product is not related to coupons and is designed for products that are not shipped (e.g. a service etc) rather than a product which is shipped for free. Also, if only "No Shipping" items are in the cart then the shipping options are not displayed in the checkout.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: lelady
Date Posted: 27-January-2010 at 5:48pm
Hi Hamish,
Let me clear this up a bit. I realize the coupon codes and no shipping options are two separate things. Forget about the coupon codes for a moment....
In the control panel, modify products, there is an option to display "no shipping text" I would like this language to display when the option is selected, however, it only seems to work if the "No shipping for this product" box is also checked. I need this language to show up if the option is checked without the No shipping option being selected.
The end result? I can assign coupon codes for products for free shipping - AND have a simple method of including an image (which i set up in the language file) that alerts the customers that the product qualifies for free shipping.
|
Posted By: Hamish
Date Posted: 27-January-2010 at 5:56pm
Hi, As you have worked out - displaying the text is dependent on the No Shipping option - it will require customization of the code to ignore that checkbox, although I suspect it's fairly straight forward. It's really usurping the meaning of that checkbox, but would work. Which version of ProductCart are you running - also can you share a URL so I can check which layout you are using?
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: Hamish
Date Posted: 27-January-2010 at 6:11pm
Hi,
Actually, look for code like this in pc/viewprdcode.asp
Public Sub pcs_FreeShippingText if scorderlevel <> "0" then else ' Check to see if the product is set for Free Shipping and display message if product is for sale if pnoshipping="-1" and pFormQuantity <> "-1" and pnoshippingtext="-1" then
|
and change the last line to :
if pFormQuantity <> "-1" and pnoshippingtext="-1" then
|
Please note this is UNTESTED - Please also read the Guidelines for editing the source code - check the link on my signature.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: macleather
Date Posted: 27-January-2010 at 7:11pm
lelady, I don't know if this helps but I use the "No shipping for this product" check box and have changed the text for the No shipping text to read FREE SHIPPING (your image would also work). Then when I'm offering free shipping I merely check both boxes and it works fine, displays the text and no need for me to mess with the coding. Haven't tested this with multiple products of shipping charge and no shipping charge items in the cart but it certainly works with the single item. I would think it would work with multiple items as well. When that free shipping period is over I uncheck the boxes.
Alan
------------- Alan
http://www.mcpcustomleather.com - MacPherson Custom Leather
|
Posted By: Hamish
Date Posted: 27-January-2010 at 7:23pm
Hi Alan, This will work, with one caveat : If only "No Shipping" items are in the cart then the shipping options are not displayed in the checkout. Any weight assigned to a "No Shipping" product is also ignored, which will automatically adjust the shipping charges to ignore the contribution of those items, which would remove the need for a coupon. The difference between this and using a coupon would be that a free shipping coupon is for the whole order instead of just "ignoring" the shipping weight for the selected products.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: lelady
Date Posted: 27-January-2010 at 11:20pm
I think I may have been misunderstanding the way the no shipping option operates.
Assuming I do this the way that Alan has suggested:
If a customer has in their cart an item that is earmarked in the system as a no shipping item, and that item is 5 lbs., and they have another item in their cart that weighs 25 lbs., that is not earmarked as a no shipping item, then when the UPS/Fed Ex rates are retrieved they will only be retrieved for the 25 lbs.?
The fact that no shipping options are selectable for a purchase of solely free shipping items does not matter to me because we only offer free ground shipping and I reserve the right to choose the carrier (UPS, USPS Priority or Fed Ex).
I'm going to see how this works with some test orders with multiple products. It seems to me that I thought I had to use the coupons and have them auto apply at checkout because I read somewhere that :
if a product was earmarked as a no shipping item, and had an assigned weight, if it was in the cart with a shipping item then the customer would be quoted shipping charges for both items weights added together and not just the weight of the one item.......
Guess this task has been on my to do list for too long!!!
Thanks!
|
|