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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Show-If in cart.php, confirm_cart.php and customer emails

Thread began 3/19/2015 3:20 pm by joerg431091 | Last modified 3/20/2015 1:22 pm by joerg431091 | 161 views | 3 replies

joerg431091

Show-If in cart.php, confirm_cart.php and customer emails

Is there any way that I can do a “show-if”, depending on a particular value in a column, in the cart.php, confirm_cart.php as well as the email templates (wa_receipt for example)?

I just applied dynamic options to eCart (which works great by the way = thanks) and also added that a specific attribute/option code is passed on to the cart as well as is displayed in the e-mail.

I added a new column “Option Code” and calculation [optionCode] in eCart Object that displays the correct code according to the option chosen in the eCart and also the email. So now in addition to the Display Info for SKU <?php echo $eCart1->DisplayInfo("SKU"); ?>, I now also have the new display info for the option code <?php echo $eCart1->DisplayInfo("OptionCode"); ?>

Some products do have options and some products do not. Since all products in the Database do have a SKU - the products that also have options currently show both (SKU as well as OptionCode) in eCart and the emails.

Is there any way that I can have a “show-if” so that the SKU is only displayed if there is no Option code?

Thanks so much and best regards,

Joerg

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