I'm busy upgrading a solution from DW 7.2 (core 19.2.9.0) to DW8. Everything went very smooth, and the site is running.
However as soon as I've added something to the cart and i'm going to step 1 of the shoppingcart i'm getting a blank cart. (Nothing has changed in the template!).
Has anyone else experienced this problem? Attached some logging i've found after the request to the cart has been made.
Developer forum
E-mail notifications
Shoppingcart broken after upgrading to DW8
Rob Lohmann
Replies
Imar Spaanjaars
Posted on 03/08/2012 15:46:02
Hi Rob,
Do you happen to have a custom product field in the shopping cart template? That is, do you display custom data for each order line item?
Imar
Rob Lohmann
Posted on 03/08/2012 16:12:26
Hi Imar,
No there aren't any customfields in each order line. However we do use a ProductTemplateExtender to determine the stocklevel available for each orderline. This is used for increasing/decreasing the quantity of a certain product. Also there is a custom vouchercode available (similar to the one in the training ;-)) Other that that no customfields are used.
I've attached the template.
- Rob
No there aren't any customfields in each order line. However we do use a ProductTemplateExtender to determine the stocklevel available for each orderline. This is used for increasing/decreasing the quantity of a certain product. Also there is a custom vouchercode available (similar to the one in the training ;-)) Other that that no customfields are used.
I've attached the template.
- Rob
Imar Spaanjaars
Posted on 03/08/2012 16:21:04
Hi Rob,
What happens when you take out the custom fields and / or the entire extender?
I had a similar issue where the cart showed up blank when I had a custom field. If removing the tag doesn't fix it, I don't know what;s causing it and you should probably open a support case.
Cheers,
Imar
What happens when you take out the custom fields and / or the entire extender?
I had a similar issue where the cart showed up blank when I had a custom field. If removing the tag doesn't fix it, I don't know what;s causing it and you should probably open a support case.
Cheers,
Imar
Rob Lohmann
Posted on 03/08/2012 16:22:15
Imar,
In addition to my previous post. I've discovered the following.
- As soon as I comment out everything in the OrderlinesLoop I get part of the cart as output.
- I tried the default template and this one works. However as soon as I add the line below it breaks down the same way as the currently used template.
- Also displaying all template tags without the line above in the default template breaks the entire page.
Hope this is more helpfull to you.
- Rob
In addition to my previous post. I've discovered the following.
- As soon as I comment out everything in the OrderlinesLoop I get part of the cart as output.
- I tried the default template and this one works. However as soon as I add the line below it breaks down the same way as the currently used template.
<!--@Ecom:Order:OrderLine.UnitPrice.Price-->
Hope this is more helpfull to you.
- Rob
Imar Spaanjaars
Posted on 03/08/2012 16:25:23
>> Also displaying all template tags without the line above in the default template breaks the entire page.
You mean using DwTemplateTags? If so, that's another known issue.
Apparently, the UnitPrice is another problem. I would open a support case and report this, mentioning that it's similar to an issue I reported with custom fields and DwTemplateTags (don't have a bug ID here).
Cheers,
Imar
You mean using DwTemplateTags? If so, that's another known issue.
Apparently, the UnitPrice is another problem. I would open a support case and report this, mentioning that it's similar to an issue I reported with custom fields and DwTemplateTags (don't have a bug ID here).
Cheers,
Imar
Rob Lohmann
Posted on 03/08/2012 16:28:01
Hi Imar,
Yes using the DwTemplateTags. In the mean time tried it with removing the entire extender, the custom tags and the VoucherCode component. Unfortunately this doesn't help.
I'll make a support case of this. Thanks for your help so far!:)
Have a nice weekend!
- Rob
Yes using the DwTemplateTags. In the mean time tried it with removing the entire extender, the custom tags and the VoucherCode component. Unfortunately this doesn't help.
I'll make a support case of this. Thanks for your help so far!:)
Have a nice weekend!
- Rob
Rob Lohmann
Posted on 20/08/2012 14:06:55
This post has been marked as an answer
Problem apperently was a bug, registered under nr 9136.
Fixed in version 8.1.1.3, tested it in 8.1.1.5 and it worked
Fixed in version 8.1.1.3, tested it in 8.1.1.5 and it worked
Votes for this answer: 0
You must be logged in to post in the forum