close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart 5 (static cart) display manager help

Thread began 1/07/2014 10:10 am by Christie | Last modified 1/07/2014 12:24 pm by Jason Byrnes | 2492 views | 9 replies |

Christie

ecart 5 (static cart) display manager help

Hi - My business has 4 products but each product has 7 to 9 product options (text fields, dropdown boxes). On my cart page, I can get it to list all the product options along with what the customer has entered for those options. My problem is that I don't want the cart to list an option for a product that does not have that option. (Ex: 2 products have the option of motif and 2 do not) How would I go about fixing this?

And my second question is exactly what is meant when I select a product option as unique?

Thanks, Christie

Sign in to reply to this post

Jason ByrnesWebAssist

In the display manager, add each of the option bindings to the same column. add the first option column to the display, then add the second option column and select the option to crroup with the previous column, add each of the other columns using the same group option.

when a column is set as unique, it allows that column to control whether a new line item is created for unique values.

for example, say you had a shirt with color options.

you would want the color column to be unique so that the shirt with red option selected would be a separate line item from the shirt with yellow selected.

Sign in to reply to this post

Christie

I completely understand the "unique" column thing now. Thanks.

For the display manager I believe I did that. When the product has the option motif, it displays: Motif: butterfly. When the product does not have the option, it displays: Motif:
And I would like the shopping cart not to list motif as the customer could not select it for that product.

Sign in to reply to this post

Jason ByrnesWebAssist

ok, send a copy of the page.

Sign in to reply to this post

Christie

My cart page is attached.

Sign in to reply to this post

Jason ByrnesWebAssist

this is a shortcut, not the actual cart.php page, i need the original cart.php page.

Sign in to reply to this post

Christie

Not exactly sure what you mean but I am trying again. :)
I copied the file from Finder- Applications....

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, this one worked.

in the cart display code add an if statement around each option display.

for example, change:

Motif:&nbsp;<?php echo $eCart1->DisplayInfo("motif"); ?>

to:
<?php if($eCart1->DisplayInfo("motif") != "") { ?>Motif:&nbsp;<?php echo $eCart1->DisplayInfo("motif"); ?><?php } ?>

Sign in to reply to this post

Christie

This worked perfectly! Thank you very much.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post
loading

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