Re: Re: Ah

Posts: 1378
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

I suggest a small snippet / hack of the core Cart Links API or uc_product module that would auto-generate a link for that product. I think it'd be a tiny bit of work because you'd have to provide logic for Options (whether or not they exist for that product).

But for instance on each Edit Product screen you have a Cart Link hyperlink, that when you right-click and choose "Copy shortcut" or "Copy link location" etc., the link provides the usual values. There would obviously still be work involved, mainly in the decision of what to store the link as in the Click Tracking table (would have to logically add this value initially, dependant on whether tracking clicks is enabled) and also, if need be, changing the number of qty to add to the cart.

Then when you go to the Options screen (or this could be included on the main screen) you're given links for each Option/Attribute combo, where you can copy the link and paste into a given scenario.

I think something like that might be helpful, I know that in my travels configuring the site I had to come back to the documentation several times (during creation of product templates and views, as well as some banner ads) each time I forgot the format for creating a new link. It'd be more of a convenience so of course I wouldn't make it a top priority.

Guess I could start work on a Contrib too... Smiling Or a patch?

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Cart Links issue By: brewski (5 replies) Wed, 02/20/2008 - 12:34