Checkout Customization / New Module

Fotographer

Joined: 2007-03-23
Posts: 110
Posted: Sun, 2008-10-26 22:22

I just upgraded my checkout modules and got all the new modules, but I started thinking about how it matches my needs as close to what I need/want.

And I was wondering how I would:

Incorporate Digibug into the checkout module or make a Digibug checkout module that works with the checkout module (I'm sure there is a way I'm just not quite sure about how to approach it.)

Because when I went over the new architecture my checkout now requires there was no way (as of yet) to incorporate Digibug into it.

The end result of my Checkout would be something similar to the pictures I've attached.

I've already outlined the If statements (not the code, just how they would work) and I came up with something like:

Quote:
- If [Digibug Product(s)] and [Digital Download(s)] are selected in the cart
-- (1st) Then Proceed with [Digital Download(s)]
-- (2nd) Then Proceed with [Digibug Product(s)]
-- (optional) Then after full order completion, Return to Checkout with success message and PDF Invoice

- Else

-- If [Digital Download(s)] selected
--- Then Proceed with [Digital Download(s)]
-- End If

-- If [Digital Download(s)] selected
--- Then Proceed with [Digital Download(s)]
-- End If

What I'm looking for I guess is a good steady push in the right direction or if possible a way or two to do it or maybe some code, just anything that can help.

Please Remember: Any and All help is Appreciated. :]
And Once again, Thank You.

AttachmentSize
Step 1 - Select Products.jpg99.35 KB
Step 2 - Confirm Photos.jpg85.57 KB
 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-10-27 08:53
Quote:
Because when I went over the new architecture my checkout now requires there was no way (as of yet) to incorporate Digibug into it.

Just to be clear, for anyone new to checkout and who may be wondering - checkout has *never* incorporated Digibug. The 'cart' module (which unlike checkout is part of the core Gallery distribution) has a Digibug feature, but 'checkout' and 'cart' are two different cart systems, aimed at different user bases and with radically different feature sets.

It would be possible to build a Digibug module for checkout which would function similar to checkoutdownload - instead of sending the images to the purchaser it would send them to Digibug for printing.

Unfortunately there's no Digibug in the UK, otherwise I would already have written such a module. I'm happy to assist someone else in doing so by explaining how the checkout architecture works; but that person will need to be at least 7 or 8 out of 10 with the general Gallery architecture before they start.

 
Fotographer

Joined: 2007-03-23
Posts: 110
Posted: Mon, 2008-10-27 23:02

Just Curious on a scale from 1-10 how hard would you think it would be?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-10-27 23:50

Well, take a look through the checkoutdownload module - if you can follow how that works, in detail, within about 20 minutes of reading the code, that would be your starting point, I'd suggest.

 
kferranti4

Joined: 2008-02-10
Posts: 26
Posted: Tue, 2008-10-28 13:47

I would love to get digibug working with checkout although I do not know anything about php so I can't help you there. I hope you will keep this thread updated if you write the mod.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-10-28 13:50

I'd love to write the module, but I'm at least 4000 miles too far away to be able to do that.

 
Fotographer

Joined: 2007-03-23
Posts: 110
Posted: Thu, 2008-10-30 04:42

I was going over the modules and I realized there's one for snapgalaxy (which is international), but it's for cart instead of checkout, so I was wondering if that would be easier to do?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-10-30 06:31

I can't find any information about an API on their website... am I missing something?

 
Fotographer

Joined: 2007-03-23
Posts: 110
Posted: Fri, 2008-10-31 01:43

I'm not too sure, I looked in the snapgalaxy module and it says Bharat Mediratta is the author, as for API I'm not sure I couldn't find it on their website, but wouldn't you need the API to make the snapgalaxy module in the first place? So I guess the question is where did Bharat Mediratta find the API?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-10-31 01:49

lol! I expect he got the details from Snapgalaxy. I'll look into it. No promises though.

 
Fotographer

Joined: 2007-03-23
Posts: 110
Posted: Sun, 2008-11-02 01:14

ok, I'll try as well. thanks.

 
Fotographer

Joined: 2007-03-23
Posts: 110
Posted: Mon, 2008-11-03 00:11

It seems as though I may be making progress.
I contacted SnapGalaxy and so far no respond which is fine considering it's the weekend, but then I contacted Bharat Mediratta and asked him about it and he said he'd try and put me in contact with the people at SnapGalaxy.

 
Fotographer

Joined: 2007-03-23
Posts: 110
Posted: Thu, 2008-11-06 03:44

I'm currently in discussion with SnapGalaxy and they've agreed to provide me with the SnapGalaxy API documentation.

 
Fotographer

Joined: 2007-03-23
Posts: 110
Posted: Fri, 2008-11-07 17:01

Comment deleted by user.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-11-07 18:13

Did they not want you to post the API details?

 
Fotographer

Joined: 2007-03-23
Posts: 110
Posted: Sat, 2008-11-08 15:32

Yea, and they kindly asked me to remove it.
Which is fine.

 
Wabin

Joined: 2009-07-04
Posts: 44
Posted: Sat, 2009-07-18 19:02

Did you get it worked out? To get Snap Galaxy and Checkout working together?