Welcome, Guest ( Customer Panel | Login )




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

williamj
VP-CART 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-CART Expert

Argentina
779 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-CART Expert

Argentina
779 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-CART 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-CART Expert

Argentina
779 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
0 Item(s)
$0.00