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 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. :]
|
||||||
Posts: 4342
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.
Posts: 110
Just Curious on a scale from 1-10 how hard would you think it would be?
Posts: 4342
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.
Posts: 26
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.
Posts: 4342
I'd love to write the module, but I'm at least 4000 miles too far away to be able to do that.
Posts: 110
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?
Posts: 4342
I can't find any information about an API on their website... am I missing something?
Posts: 110
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?
Posts: 4342
lol! I expect he got the details from Snapgalaxy. I'll look into it. No promises though.
Posts: 110
ok, I'll try as well. thanks.
Posts: 110
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.
Posts: 110
I'm currently in discussion with SnapGalaxy and they've agreed to provide me with the SnapGalaxy API documentation.
Posts: 110
Comment deleted by user.
Posts: 4342
Did they not want you to post the API details?
Posts: 110
Yea, and they kindly asked me to remove it.
Which is fine.
Posts: 44
Did you get it worked out? To get Snap Galaxy and Checkout working together?