close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Product Option reflected in shopping cart

Thread began 10/21/2013 4:20 pm by joerg431091 | Last modified 10/22/2013 5:10 pm by Jason Byrnes | 1331 views | 5 replies |

joerg431091

Product Option reflected in shopping cart

Hi,

I added product options to e-cart following the "Add Product Options into eCart" tutorial and it works great - thanks a lot for a great tutorial.

So the price increment reflects in the cart.php according to the option the customer uses. But I can't figure out how I can also reflect the type of option that the customer has chosen in the cart. So if the customer for example chooses the size Large, he currently only sees this reflected in the price since the name of the product remains the same. How can I also transfer the option text (Large) that the customer has chosen in the cart?

Thanks a lot and best regards,

Joerg

Sign in to reply to this post

Jason ByrnesWebAssist

see tis post from a similar thread for details:
http://www.webassist.com/forums/post/27794/

Sign in to reply to this post

joerg431091

Hi Jason,

Thanks for your reply but I can't see the similarities of the post. I am not trying to pass on the info to paypal.

I am trying to pass the option information from the products_detail.php page to the cart.php page and then later through the checkout and eventually to the confirmation e-mail the customer gets.

Sign in to reply to this post

Jason ByrnesWebAssist

Passing the info to paypal is the same as passing it to the Cart page or to the email.


create the calcualtion to contcatinate the name and the options:

  edit the eCart object and create a new calculation on the calculation tab.

Set the Type of the new calculation to text and the name to "NameOptions", the calculation should be:
[Name] . ' Color:' . [colorColumnName] . ' Size:' . [sizeColumnName]  




then edit the codwe to display the name on the cart page or in the email:

$WA_Store_Cart->DisplayInfo("Name")



to use the new calculation that includes the options concatenated:

$WA_Store_Cart->DisplayInfo("NameOptions")
Sign in to reply to this post

joerg431091

Perfect. Thanks for clarifying. This worked great.

Best,
Joerg

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

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