/    Sign up×
Community /Pin to ProfileBookmark

Trouble Posting Form Data to Shopping Cart ?

Hello ?

Want to give a MAJOR thumbs up to user JMRKER which shared some day-saving code here this morning iny my quest for an image preview driven by a drop-down selector ?

I’ve implemented the suggestion along with some other simple JS while attempting to pass all of this my shopping cart. My Cart32 Cart uses P and T tags to collect info. ALL info is passing except the drop-down selections. I’ve used this cart for years and usually have NO trouble passing info from drop downs, text fields etc, but this just keep failing. Even asked cart tech support and it wasn’t obvious to them which seems strange since this is a common command.

Here’s the URL to my testing page, only the ‘Labrador Receiver’ is linked to the cart: [url]http://www.familycarstickers.us/dogordering1_20_atc_nameb.htm[/url]

I’m attaching the related JS and HTML tags that ‘should’ be passing this to my cart…P1 and T1 usually control all of this, is there confusion since name=P1 reference the JS that controls the image preview?

Thanks for any insight you can share, LS

[upl-file uuid=e2eb1b35-ae3b-435b-a778-4906f4683e48 size=2kB]JS_HTML_DropDowns.txt[/upl-file]

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@luckysignsauthorSep 11.2009 — Does anyone have ideas for this?

Here's a version that has working image preview (for the Labrador breed) but not passing p1 tags to cart:

http://www.familycarstickers.us/dogordering1_20_atc_nameb.htm

And the version with non-working image preview (for the Labrador breed) but DOES pass p1 tags to cart:

http://www.familycarstickers.us/dogordering1_20_atc_hc.htm


Really need it to do both ?

Thanks, LS in FL
Copy linkTweet thisAlerts:
@JMRKERSep 12.2009 — Does anyone have ideas for this?

Here's a version that has working image preview (for the Labrador breed) but not passing p1 tags to cart:

http://www.familycarstickers.us/dogordering1_20_atc_nameb.htm

And the version with non-working image preview (for the Labrador breed) but DOES pass p1 tags to cart:

http://www.familycarstickers.us/dogordering1_20_atc_hc.htm


Really need it to do both ?

Thanks, LS in FL[/QUOTE]


I'm back ......

Looking at both scripts, I don't see (visually) much of a difference.

What is the non-working image preview part that is NOT working when the 'p1' tag is passed to the cart correctly. Both appear to have the select box script for the different images. I'm tying to home in on the exact problem in the code that is working correctly that passes the 'p1' tags as you desire. Figured I would start from some working code and fix the non-working rather than the other way around.

Is there a sequence of button clicks that demonstrate the problem without submitting an order that I assume would mess up your books?

Still trying ...... ?
Copy linkTweet thisAlerts:
@luckysignsauthorSep 13.2009 — Hello Jay:

Here is an example that has full functionality on the Labrador breed:

http://www.familycarstickers.us/dogordering1_20_atc_hc.htm

This is actually the product of your code and some modifications from someone else to get it to send to the cart.

Downside is, I've been told I can only have 1 form per page ? Multiple forms are possible but will take extra JS coding, PHP or etc?

The Labrador sends via p1/t1 p2/t2 and p3/t3 tags. I enthusiastically thought that increasing the sequence would send the successive breeds to the cart, not so !

Here's an example of that failed attempt:

http://www.familycarstickers.us/dogordering1_20_atc_hc2.htm

If you have any ideas, I'd welcome them. Don't want you to spend too much more time on this, you've already gone above and beyond. I have consulted a coder who's stated they can do this for a fee. What do you think?

Regards, LS
Copy linkTweet thisAlerts:
@JMRKERSep 14.2009 — Try this version.

How close to requirements does it come to your needs?

It does require additions for display of the other breeds,

so make changes similar to the outlined 6 (one duplicated) breeds.

Make sure your changes work before you decide to make major modifications

as you might want to use the outlined code for reference.

[upl-file uuid=f48fae2a-e029-41ac-a6df-2a1be29fe728 size=32kB]DogTags.txt[/upl-file]
×

Success!

Help @luckysigns spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...