Easiest way to do that would be to add for each type all sizes.
-type 1 4x6
-type 1 5x7
-type 1 6x8
-type 1 7x9
-type 2 4x6
-type 2 5x7
-type 2 6x8
-type 2 7x9
.... that for all four types
if you look for let's say two dropdowns, one with type, the other containing the size... then this is not possible without changing a good bunch of code in nearly all files. Also db modifications would be necessary. A task that can't be done in a few minutes.
You insert this into Shop > Config area correct? Where by default your only three types are Photo, CD, and Shipping? How would you add another type? I've been looking through the codes and it seems like the types are pretty hardcoded into the plugin, or could it be as simple as creating another row in the MySQL table (_shop_config) and forcing the type to be the name you want?
Basically what I am aiming for is to have different "size sets" for different aspect ratios of photos I want to sell (2:3, 1:1, etc.). If this isn't available "out of the box" or something close to it, then I might be able to handle the additional coding if I can be pointed in the general direction. (In retrospect as I proof-read this post, I think I am coming to the realization that this will indeed involve a bit of adding onto the current shopping cart plugin).
EDIT:
Also I was wondering about the pages where PayPal redirects your customers after ordering. From gateway.inc.php:
//PayPal return URL, leave empty if you do not want to make use of the return URL
$CONFIG['photo_shop_paypal_return_url'] = '';
//PayPal cancel return URL, leave empty if you do not want to make use of the cancel return URL
$CONFIG['photo_shop_paypal_cancel_return_url'] = '';
Are you planning on writing a page for these return URLs for the next version? I feel I may need something like this for my work, and am considering writing one up. I have read through PayPal's documentation about integrating and I don't quite understand everything, but this would be a good chance for me to learn
Under the current setup, does this plugin simply use the "Individual items to PayPal" option:
https://www.paypal.com/IntegrationCenter/ic_standard_home.html#individualAnd what types of security does the plugin integrate? (
https://www.paypal.com/IntegrationCenter/ic_button-encryption.html) I have seen several mentions of payPal's IPN system, but this isn't active in the plug-in yet, correct?
But then in order to implement the IPN all you would have to do is have the return URL a validation script that checks the values PayPal sends, then returns it with the confirmation while posting a message to your guest that everything worked right... I'll look into it
(Oh, and you also have to send a 200 OK to paypal. Can PHP handle that on its own? TO THE MANUAL!)