Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Two parallel checkout processes?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lynch
VP-CART New User

USA
74 Posts

Posted - April 11 2005 :  12:32:57  Show Profile  Reply with Quote
On my site, we have some "products" that are really just deposits or down payments -- a customer can submit measurements for clothing and a down payment, for example. They would then pay the remainder of the final cost in our brick-and-mortar store when the pick up the item.

These types of items require no shipping, and I have implemented some custom code that makes sure there is no shipping cost for these items, regardless of what shipping method is chosen.

Now I've been asked to eliminate the shipping method choice altogether for these items -- if a customer is submitting a down payment, we don't want to confuse them by asking about shipping at all.

There are plenty of items in the store that we do ship, so I need to have the standard checkout process as well as this separate process that does not ask for shipping.

Can someone give me some pointers on how I might make this happen? I'm reluctant to start hacking at this process with just the info from the developer's guide...

I'm running version 5.0 on IIS using SQL Server.

devshb
Senior Member

United Kingdom
1904 Posts

Posted - April 11 2005 :  12:46:15  Show Profile  Visit devshb's Homepage  Reply with Quote
If it were me, I'd make a manual/custom change to shopcustomerform.asp to loop round the items and see if the only items in the cart are the "shipping irrelevant" products, and then add the relevant shipping method as a hidden text field if that's true (and hide the poplist).

(ie change the ShopShippingForm function in shopcustomerform.asp)

but someone else might have a nicer/better idea.

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page

lynch
VP-CART New User

USA
74 Posts

Posted - April 12 2005 :  08:36:18  Show Profile  Reply with Quote
Thank you for the suggestion. After looking through the process yesterday, I came to a similar conclusion.

We calculate shipping by price range, so I already have a routine to exclude those items from the price used for shipping. I can call that function, and if it returns a price of zero, substitute the shipping method.

I haven't made a lot of customizations to our cart in the past year, so I thought I'd ask for opinions here before fiddling with the code.

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