Hi
I'm re-developing some of our shop in order to automate orders, and one of the products I'm having trouble with is a magazine subscription.
I've got a page sorted where the user ticks the option they want and clicks add to cart to buy a subscription (options being 1 year, 2 year, UK, Europe, USA, Rest of world, etc.). Actinic returns the correct product code for that subscription configuration.
However, one additional component I need is the "First Issue" (i.e., which magazine issue they'd like to start their subscription with). In the past, I've just had a dropdown with "Next", "Jan", "Feb", etc., and processed manually, but now it's being automated, I need to identify exactly the product that they wish to start with.
All past, current and forthcoming issues of the magazine are in Actinic as products within sections, and available to buy separately - I just need some way of listing them in a dropdown for a subscription and returning the product code.
As each magazine is in its own section, I was a fair way into getting them out of the section tree array with JavaScript, until I realised that I could not derive the product code from this, so back to square one. I know a fair bit about Actinic, but as it's not my full time role, I get a bit rusty, and I've hit a dead end.
I don't really want to recreate the products in a manual dropdown (title and product code only), since it would need updating every month, and we have 12 different magazine subscriptions to manage) - but if that's the most practical way, then so be it.
Any ideas guys - I've got a feeling I'm missing a simple trick here? Many thanks for getting this far!
I'm re-developing some of our shop in order to automate orders, and one of the products I'm having trouble with is a magazine subscription.
I've got a page sorted where the user ticks the option they want and clicks add to cart to buy a subscription (options being 1 year, 2 year, UK, Europe, USA, Rest of world, etc.). Actinic returns the correct product code for that subscription configuration.
However, one additional component I need is the "First Issue" (i.e., which magazine issue they'd like to start their subscription with). In the past, I've just had a dropdown with "Next", "Jan", "Feb", etc., and processed manually, but now it's being automated, I need to identify exactly the product that they wish to start with.
All past, current and forthcoming issues of the magazine are in Actinic as products within sections, and available to buy separately - I just need some way of listing them in a dropdown for a subscription and returning the product code.
As each magazine is in its own section, I was a fair way into getting them out of the section tree array with JavaScript, until I realised that I could not derive the product code from this, so back to square one. I know a fair bit about Actinic, but as it's not my full time role, I get a bit rusty, and I've hit a dead end.
I don't really want to recreate the products in a manual dropdown (title and product code only), since it would need updating every month, and we have 12 different magazine subscriptions to manage) - but if that's the most practical way, then so be it.
Any ideas guys - I've got a feeling I'm missing a simple trick here? Many thanks for getting this far!
Comment