Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-15-2003 20:08:57

thekiko
Member
Registered: 07-11-2002
Posts: 126

Multiple Shipping Addresses

Is there anyway to remove having to enter a shipping address for every product ordered?  It gets kind of cumbersome when you order more than 3 products.  I thought that switching ::Shipping Addresses Accepted:: to "Billing & Single Shipping" but that didn't seem to work.

Thanks!
Kiko
http://www.game-skins.com/store/


TheKiko

Offline

 

#2 08-18-2003 22:03:37

thekiko
Member
Registered: 07-11-2002
Posts: 126

Re: Multiple Shipping Addresses

Hmmm... upon further investigation, I seem to have broken it but good.  Comparing it to the "Demo Store" on the CCP site - the "Shipping Information" form doesn't even come up under the "Billing Information" fields.  All it shows is the Billing Information form and then jumps to "Additional Information."

Ugh!  This is what I get for heavily modifying my 5 version, and then getting the bright idea of upgrading to 5.1 by hand (bleh).  I must admit, it hasn't been too difficult up to this point.

----
At any rate here is what I have so far... I am using un-altered versions of:

ste_chkout.pl
ste_ship.pl    (Obviously since this didn't exist in 5)
ste_chkout_*.txt
Among many other files... it's just that these are the only files that I think are involved, and I am most likely wrong
----

From what I can decipher, it is completely ignoring the "ste_chkout_shiptype" subroutine during the checkout process.  I am gonna run some more tests.

Anyone have a clue, other than Nick, as to which files impact the first page of the checkout process?

Thanks as always,
http://www.game-skins.com/ccp51/


TheKiko

Offline

 

#3 08-19-2003 23:35:40

thekiko
Member
Registered: 07-11-2002
Posts: 126

Re: Multiple Shipping Addresses

It appears that I have found the culprit, but as in all monumental struggles it just leads to more questions.

Somehow my element "ste_layout.txt" is the problem, but I don't have a clue as to how.

Time to scour line by line I guess.


TheKiko

Offline

 

#4 08-19-2003 23:58:37

thekiko
Member
Registered: 07-11-2002
Posts: 126

Re: Multiple Shipping Addresses

BINGO!

I have a mod running in my layout similiar to the one located here: <A HREF="https://forum.kryptronic.com/viewtopic.php?id=1345">https://forum.kryptronic.com/viewtopic.php?id=1345</A> .  This mod calls some variables that causes the checkout page to go haywire, or at least that is what I could devise.


TheKiko

Offline

 

#5 08-21-2003 13:37:34

thekiko
Member
Registered: 07-11-2002
Posts: 126

Re: Multiple Shipping Addresses

<bump>


TheKiko

Offline

 

#6 08-22-2003 07:41:55

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Multiple Shipping Addresses

Sorry for not updating this yesterday, kiko.  I saw the BINGO and figured everything was cool.  What is your outstanding issue?

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#7 08-22-2003 13:49:31

thekiko
Member
Registered: 07-11-2002
Posts: 126

Re: Multiple Shipping Addresses

<font size="1" color="#FF0000">LAST EDITED ON 08-22-03 AT 02:50 PM (EST)</font><p>Is there a solution to getting this mod <A HREF="https://forum.kryptronic.com/viewtopic.php?id=1345">https://forum.kryptronic.com/viewtopic.php?id=1345</A> to function happily with Tiki?

It appears that this mod calls certain variables that makes the checkout process, with regard to shipping, go haywire.


TheKiko

Offline

 

#8 08-25-2003 17:30:25

thekiko
Member
Registered: 07-11-2002
Posts: 126

Re: Multiple Shipping Addresses

<bump>


TheKiko

Offline

 

#9 08-25-2003 19:13:42

WayneK
Member
Registered: 08-17-2003
Posts: 256
Website

Re: Multiple Shipping Addresses

Did you modify ste_cart.pl according to the post refrenced?

- Wayne

http://grade-a.net/


- Wayne
<-- Witty Clever Phrase Goes Here -->

Offline

 

#10 08-27-2003 03:22:22

thekiko
Member
Registered: 07-11-2002
Posts: 126

Re: Multiple Shipping Addresses

>Did you modify ste_cart.pl according to
>the post refrenced?

Yes...  I copied 'ste_cart_get_info_proc' and created a new subroutine in 'ste_cart.pl' and titled it 'ste_cart_get_info'.  I also replaced all of the names on the 'sub' lines as well.

I call the subroutine in my 'ste_layout.txt' with (CGIGET TYPE="SUB" VALUE="ste_cart_get_info") and based on this feed I can serve the variables (CGIVAR)cart_quantity_found(/CGIVAR) and (CGIVAR)tracking_subtotal(/CGIVAR).

With these variables I am able to show
"Your cart contains * item(s).  Subtotal - $*.**"
In my layout as such here: http://www.gameskins.com/cgi-bin/cp-app.cgi

This is all fine and dandy until we get to checkout where the shipping option fields do not appear under the billing fields (SINCE upgrading to Tiki).  Once I remove the (CGIGET TYPE="SUB" VALUE="ste_cart_get_info") and the accompanying variables from ste_layout.txt everything works like normal (but I have no cart quantity and subtotal info).

So I am looking for some assistance in finding a solution to getting this mod functioning in Tiki.


TheKiko

Offline

 

#11 08-29-2003 09:10:15

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Multiple Shipping Addresses

This issue stems from the fact that kiko used the mini cart code from 5.0 instead of rebuilding it in 5.1 according to the ste_cart_get_info routine in 5.1.  That routine has new variables in it in 5.1 that are used to handle shipping.

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

Board footer