[CHECKOUT] Translation, Limit maximum quantity inside an order and quantity of orders with the same email, etc...

ergos

Joined: 2006-02-09
Posts: 19
Posted: Thu, 2006-02-09 18:39

Hi all!
First: you have developed really great stuff! (checkout module and obviosuly gallery :-) )

Here are my question:

1) Which are the best practices to translate the checkout module? (I mean that I may translate it in Italian and after give you my translation so you can put it inside the module)

2) May I limit the maximum quantity of an item that someone may order during the checkout?

3) May I limit the maximum number of orders (also in different session) associated with the same email?

4) For which reason I should prefer to use the zipcart module (+cart module obviously) instead of checkout + checkoutmail ?

Thanks really a lot in advance,
hope to your from you soon.

Greetings from italy,
Filippo

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Fri, 2006-02-10 18:19

Hi Filippo,

To answer your questions one-by-one:

  1. I'm not good at doing translations, but I think there is a post somewhere on the forums that explains how to translate a module. Once you have translated it I will happily include your results in the main distribution of the module if you would like me to! You may find it best to wait for the 2.1 release of the module, as I'm tidying up the translation strings at the moment.
  2. It might be possible to limit the quantity that could be ordered, but the rules for this might get a bit difficult to code. At the moment one of the main limitations of the module is to do with how product details are stored - and adding extra information (such as quantity limits) to this storage is quite difficult. Also, would you want the limits to apply per product (regardless of what item or mix of items was ordered), per product for each item, or per item regardless of products?
  3. This would be possible, but the module isn't currently built to do that. Once I've reworked the product storage as mentioned above, and started building things like per-user special pricing rules, then it would become much easier. At the moment it would have to be a hack.
  4. The cart+zipcart module is currently the only one that offers you the ability to download your order direct from the gallery. This is a major feature I really want to include in Checkout, and it is something I'm working on but it also has a number of dependant features/fixes I have to get right first. That, and I don't have too much time to code at the moment as we're moving house!

I hope this answers all of your questions,

Matt.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-02-10 23:33

1. http://codex.gallery2.org/index.php/Gallery2:Localization -- follow the directions there, but when you're done post the po file here or send it directly to turnbulm.

 
ergos

Joined: 2006-02-09
Posts: 19
Posted: Sat, 2006-02-11 09:29

Dear Matt,

1) when I have done the translation I will send it to you as soon as possible! When you plan to release 2.1?

2) The restriction is per product, not per item or mix of items.

4) It would be wonderful to download the cart after the payment is done via paypal (obviously of the full quality images, with no watermarking). Or also via email when the site admin receive the payment he sends a link to the customer with the details of the download (a temp URL created only for this reason!) (peraphs too difficult this version). I have seen many rumors about this features. I think that it would be a very good step ahead towards commerce in gallery.

Matt, as I told you in a private message I wrote to you, I can pay you for this modification of your code. The code I am asking you to done will remain public (GPLed or whathever you want). Plus you get my italian translation because I'm gonna translate the module that I will use ;-)

Hope to hear from you soon, I have lived in 4 big cities here in Italy and I know what a mess is to move between houses. However I keep trying to have this work done, and I want you to do this because you are the man who made it and, I think, the only that has in mind the true potential of it.

Thanks again,
Filippo