close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Trying to visually separate data output, that should not show, if data field is empty

Thread began 2/19/2011 12:07 pm by Roxana | Last modified 2/24/2011 12:22 pm by Roxana | 3664 views | 13 replies

Roxana

Thanks Jason,

I followed your lead and extended the code to also handle products with no version option, to pass on price and item no..

$ATC_itemPrice = floatval(($row_rspricelookup['price']!="")?$row_rspricelookup['price']:($row_rspriceNoSize['price']!=""?$row_rspriceNoSize['price']:($row_rspriceNoVersion['price']!=""?$row_rspriceNoVersion['price']:$row_rspriceNoVersionNoSize['price'])));// column binding

$ATC_itemarticle = "".$row_rspricelookup['item_no_long'] .""?$row_rspricelookup['item_no_long']:($row_rspriceNoSize['item_no_long']!=""?$row_rspriceNoSize['item_no_long']:($row_rspriceNoVersion['item_no_long']!=""?$row_rspriceNoVersion['item_no_long']:$row_rspriceNoVersionNoSize['item_no_long']));// column binding

It looks like it is working, but when I choose a certain size option and put it in the cart (that works), then I cannot choose another option of the same product. If I do so, the detail page will post the same as the first chosen option with that same price (the wrong price) regardless of my choice.

Your help already goes way beyond regular support, so please let me know, if you cannot help me any further from this point on.

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...