PDA

View Full Version : Digital Delivery Tags Won't Display Correctly On Thank You Page


David Ovenden
05-28-2009, 05:08 PM
Hi,

The Delavo Contextual Help says that you can use tags in the digital delivery section of a product, as follows:

<--start of contextual help-->

Instructions

You can use the WYSIWYG HTML editor to insert any instructions your customers will receive upon the completion of the purchase of this Product. These instructions will be displayed right after the completion of the order.

You can also insert the following tags that will be replaced by the purchase’s value:

The title of the product:
#{ThisProduct.title}

The name of the customer
#{Purchase.fname} #{Purchase.lname}

The email of the customer:
#{Purchase.email}

<-- end of contextual help-->

I have inserted a couple of these tags into the digital delivery section of one of my products and made a test purchase but the tags do not display correctly on the thank you page, as follows:

#{ThisProduct.title} shows as #{ThisProduct.title} i.e. it does not replace with the product name

#{Purchase.fname} displays as a blank space

Any ideas what I am doing wrong?

Thanks
Dave Ovenden

Yuzairy Samsudin
05-28-2009, 06:32 PM
Instead of putting it on the "Delivery Section", try putting it directly on the "Thank You" page template.

;D

Brian Collins
05-28-2009, 09:05 PM
Hi,

The Delavo Contextual Help says that you can use tags in the digital delivery section of a product, as follows:

<--start of contextual help-->

Instructions

You can use the WYSIWYG HTML editor to insert any instructions your customers will receive upon the completion of the purchase of this Product. These instructions will be displayed right after the completion of the order.

You can also insert the following tags that will be replaced by the purchase’s value:

The title of the product:
#{ThisProduct.title}

The name of the customer
#{Purchase.fname} #{Purchase.lname}

The email of the customer:
#{Purchase.email}

<-- end of contextual help-->

I have inserted a couple of these tags into the digital delivery section of one of my products and made a test purchase but the tags do not display correctly on the thank you page, as follows:

#{ThisProduct.title} shows as #{ThisProduct.title} i.e. it does not replace with the product name

#{Purchase.fname} displays as a blank space

Any ideas what I am doing wrong?

Thanks
Dave Ovenden


Hi Dave,

Are you inserting these tags into the WYSIWYG editor or into the HTML code?

The need to be inserted into the HTML code to work correctly.

Brian

David Ovenden
05-28-2009, 09:24 PM
Hi Brian,

I've tried it both ways and the result was the same each time.

Have you managed to get them to work?

Thanks
Dave Ovenden

Brian Collins
05-28-2009, 09:40 PM
Hi Brian,

I've tried it both ways and the result was the same each time.

Have you managed to get them to work?

Thanks
Dave Ovenden


Hi Dave,

No I have not tried yet - I will keep this in mind and try it on my installation later today.

Brian

Brian Collins
05-29-2009, 01:50 AM
Hi Dave,

Ok, the results of my testing

As you decribed - I got the same results.

I tried the following tags (taken from the additional tag list in the template section:

#{Product.title}

#{Customer.fname} #{Customer.lname}

#{Customer.email}

and those at least print on the thankyou page now.

So the conclusion is:

The ones that are indicated in the help file are correct and the hook for those tags is not available as yet (not necessarily a bug - may have a dependancy on a plugin).

or

The tags that I experimented with are the correct ones and the hook for those tags is not available as yet (not necessarily a bug - may have a dependancy on a plugin).

I would advise a ticket to the help desk so that they can determine if it is a bug or not.

Brian

Yuzairy Samsudin
05-29-2009, 08:08 AM
It's a bug.

Even in Fantasos, I couldn't get the tags to work in Delivery Section (i.e. in Product)
Same with Delavo. Tested both with plugins and without plugins.

I never use tags in Delivery Section and always use the package level templates.
That's why I didn't notice it.

However, all the tags do work in templates (Packages). ;D
Tested WORKING both with plugins and without plugins.

Just make sure that when working with tags, use the Source view.
That way you can be sure that the HTML editor won't break the code like this:
<b>#{</b><b>Product.title}</b> :(

PS If you can't find your way to the list of available tags, here's the direct link:

(substitute com/delavo/ with the path to your actual install.

URL deleted by Mod REASON: Cannot post a live link to your website in the
body of your post.