Forums / Templates, Stylesheets, Page Layout / Problems with product info page

Problems with product info page

Views: 1,399

Results 1 to 14 of 14
21 Nov 2013, 2:42 PM
#1
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Problems with product info page

Hi,

Please see http://www.theengravingshop.co.uk/bench-memorial-plaques/bench-memorial-plaque, using version 1.5.1. When you complete the details for the plaque, i.e. text required, corners, etc, but leave the size of the plaque at option "Please select", when you click add to cart, it correctly shows the error message of what you have failed to select, but then it removes the text box for Text Required, so you cannot add it again, and messes up the layout. How can I fix this so when customers forget to select options, that they can go back and still amend all options?

21 Nov 2013, 2:50 PM
#2
cvhainb avatar

cvhainb

Zen Follower

Join Date:
Sep 2008
Posts:
212
Plugin Contributions:
19

Re: Problems with product info page

There are 2 ways to do, I think:

  1. Use javascript/jquery validation.
  2. Set session for options after submit.

I suggest #1.

Our Site: http://zucando.com
Marketing Plugins: Marketing Modules
Free Response Templates: Responsive Templates

21 Nov 2013, 3:03 PM
#3
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Re: Problems with product info page

Thanks for the reply. Can you please tell me what to do? How do I use use javascript/jquery validation?

21 Nov 2013, 11:27 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Problems with product info page

To the OP - does it do the same thing if you switch temporarily to the Classic template ?

22 Nov 2013, 7:46 AM
#8
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Re: Problems with product info page

Hi stevesh,

Sorry for late reply, seem I have been excluded from part of the conversation! Yes, I have just switched to classic template, didn't complete any details but just selected add to cart. All the relevant error messages came up, and again the text boxes were missing (for the text and special instructions). The radio selectors and drop downs still show.

24 Nov 2013, 4:19 PM
#9
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,017
Plugin Contributions:
2

Re: Problems with product info page

Fresh page before submission

<input type="text" value="400" maxlength="3" size="3" name="remainingTEXT_PREFIX31" disabled="disabled"></input>

After submission with error

  <input disabled="disabled" type="text" name="remainingTEXT_PREFIX31" size="3" maxlength="3" value="400" />  maximum characters allowed<br /><textarea class="attribsTextarea" name="id[TEXT_PREFIX31]" rows="10" cols="50" onkeydown="characterCount(this.form['id[TEXT_PREFIX31]'],this.form.remainingTEXT_PREFIX31,400);" onkeyup="characterCount(this.form['id[TEXT_PREFIX31]'],this.form.remainingTEXT_PREFIX31,400);" id="attrib-31-0" ></textarea>

http://www.w3schools.com/tags/att_input_disabled.asp

I have never seen disabled="disabled" used before and dont know why you have included it.

Have you tested your form without the disabled part.

24 Nov 2013, 4:56 PM
#10
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Problems with product info page

gjh42:

No, of course if the visitor has javascript disabled the validator wouldn't work.

I presume your question was rhetorical:)

Relatively rhetorical. Hoping to insight a solution that would maximize functionality without excluding a potentially large group of visitors/purchasers. Or if it will exclude, then to ensure that the implementer considers identifying to the user(s) why something would not work or or advises of minimum requirements to ensure functionality. :)

(So, yeah, I knew it wouldn't work if turned off. :))

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

24 Nov 2013, 6:53 PM
#11
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Re: Problems with product info page

Hey dw08gm,

This is part of the standard v 1.5.1 files, in includes/modules/attributes.php, this is not something I have added. Any other ideas?

24 Nov 2013, 11:22 PM
#12
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Problems with product info page

barendfaber:

Hey dw08gm,

This is part of the standard v 1.5.1 files, in includes/modules/attributes.php, this is not something I have added. Any other ideas?

I agree that the disabled="disabled" statement is in the attributes filei can't swear that some other mod I have added did not put it in there, but I found it in there by search using the Developers Tool Kit. I am curious about when that "line" is applied. May want to remove that portion from one of the statements (or more) and see if it resolves. Or to search the forum more.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

24 Nov 2013, 11:22 PM
#13
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Problems with product info page

barendfaber:

Hey dw08gm,

This is part of the standard v 1.5.1 files, in includes/modules/attributes.php, this is not something I have added. Any other ideas?

I agree that the disabled="disabled" statement is in the attributes filei can't swear that some other mod I have added did not put it in there, but I found it in there by search using the Developers Tool Kit. I am curious about when that "line" is applied. May want to remove that portion from one of the statements (or more) and see if it resolves. Or to search the forum more.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

25 Nov 2013, 3:40 AM
#14
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,017
Plugin Contributions:
2

Re: Problems with product info page

barendfaber:

Hey dw08gm,

This is part of the standard v 1.5.1 files, in includes/modules/attributes.php, this is not something I have added. Any other ideas?

Indeed, it is standard and has been there for years. I have never had a problem with text attributes, so have not needed to look closely into it. Stumped.