VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Shipping Alert
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

williamj
VP-ASP New User

Canada
77 Posts

Posted - April 14 2011 :  13:24:25  Show Profile  Reply with Quote
Hi,
We ship some heavy items that requires the customer to call for shipping price. Is there a way to set up Vpasp so that if the weight is over a certain amount it will bypass the shipping method and show a message asking the customer to call for shipping charges? I'm using version 6.5 with the ups lookup table for shipping.

Edited by - williamj on April 14 2011 13:25:55

diegomilito
VP-ASP Expert

Argentina
723 Posts

Posted - April 21 2011 :  00:37:46  Show Profile  Reply with Quote
i tried with your requirement, and maybe this helps (assume ur vpasp is 7.00)

a) open up shopcustomerform.asp
b) locate : HtmlWrite "<label>" & "* " & GetLang("langShippingMethod") & "</label>"
c) directly after it, you paste this code :

dim strWeightmax
strWeightmax = 5
if getTotalweight > strWeightmax then
%>
<div name='selresultlist' id="selresultlist">
<select size=1 name="<%= "shipmethodType" %>">
<option value="Call us">Call Us for shipping price</option>
</select>
</div>
<%
else

d) locate :

htmlwrite "<div class=""cb""></div>"
htmlwrite "</fieldset>"
else
if GetConfig("xfixedshippingmethod")<>"" then

e) on before the 4 lines as explained above, to put this new code :

END IF

now you should be able to meet your requirement and good luck man!
Go to Top of Page

diegomilito
VP-ASP Expert

Argentina
723 Posts

Posted - April 21 2011 :  00:39:49  Show Profile  Reply with Quote
ah i forget to tell you. ... strWeightmax = 5 is just my example, if products total weight > 5 then to show the Call US. please change directly the 5 with your suitable weight max.

Diego.
Go to Top of Page

williamj
VP-ASP New User

Canada
77 Posts

Posted - May 12 2011 :  20:26:42  Show Profile  Reply with Quote
Thanks for your help Diego. I really appreciate. Sorry I didn't get back sooner but had some issues to deal with. Even though I use 6.5 this has put be on the right track and I'm sure I'll find a solution. Thank you again!
Go to Top of Page

diegomilito
VP-ASP Expert

Argentina
723 Posts

Posted - May 25 2011 :  01:06:50  Show Profile  Reply with Quote
that is ok williamj, sorry just could reply you back.

encantado de escuchar.
Diego.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000