close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Can a style influence what is passed onto the cart page?

Thread began 3/01/2011 3:49 pm by Roxana | Last modified 3/04/2011 12:40 pm by Roxana | 1063 views | 5 replies

Roxana

Hi Jason,

I tried hiding the select menu with with

php:
<?php if (!empty($row_rssizedefault['size'])) { // Show if recordset not empty ?>



and also with

php:
<?php if ($row_rsversion['version_id'] != "13") { // Show if recordset not empty ?>



Where id 13 is a zero value.

Both ways take the menu away and put the correct item in the cart. But they also take away a feature that price and item no. automatically adjust, when the user makes a version or size choice.

It seems like the select menu is made invisible not only to the browser, but also to some JavaScript, that seems to rely on a value (even a zero value) from the hidden select menu.

When using the style to hide the select menu, the adjusting feature still works, but the wrong item would be put into the cart, if a choice was made.

Sorry for being so confusing.

Just in case, I have attached a copy of the detail page.

Attached Files
detail_webassist.php.zip

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...