Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Creating wish list page & linking to products View modes: 
User avatar
Member
Member
paul.truman-sunmed.co - 8/8/2012 9:47:55 AM
   
Creating wish list page & linking to products
Hey, I've created a wish list page and copied the transformations default code as suggested in the user documentation, but the link doesn't work .. instead it points to the current page with the product ID parameter value at the end.

I'm guessing that i'm missing a setting somewhere to point it to the correct page, but I just can't find where it is. Anybody have any ideas what I'm doing wrong here?

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 8/9/2012 2:33:04 AM
   
RE:Creating wish list page & linking to products
Hello,

Could you please let me know how you are creating the URL pointing to the document/product? The default transformation on the wishlist uses the following code:

<a href="<%# EcommerceFunctions.GetProductUrl(Eval("SKUGUID"), Eval("SKUName")) %>"><%# HTMLEncode(ResHelper.LocalizeString(Convert.ToString(Eval("SKUName")))) %></a>

What links are generated in your case? Could you please post an example? Please post also an example of an valid product link.

Best regards,
Boris Pocatko

User avatar
Member
Member
paul.truman-sunmed.co - 8/9/2012 6:57:12 AM
   
RE:Creating wish list page & linking to products
hi, I've tried replicating the ecommerce layout in a blank website.

I've used the eCommerce - products template for the list page, and inherited it for the detail page. I've used the same transformations also but for some reason everytime I click on the Product, within the product detail page the 'add to wishlist' and 'add to cart' buttons do not work.

Both links just point back to the current page (/kenticocms/shop/product.aspx)

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 8/9/2012 8:38:52 AM
   
RE:Creating wish list page & linking to products
Hello,

Could you please let me know, if you've tried to use the code snippet, I've posted in the previous message? Did it render the same output?

Best regards,
Boris Pocatko

User avatar
Member
Member
paul.truman-sunmed.co - 8/9/2012 9:02:19 AM
   
RE:Creating wish list page & linking to products
Hey, yes it did - I pasted it into the default transformations for the product detail page and the link said the following:

/KenticoCMS/getproduct/6892a965-6355-42a1-ad04-ee20f303a7eb/Test-Refurb-Product.aspx

It just doesn't seem to want to point to the page.

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 8/11/2012 2:29:19 PM
   
RE:Creating wish list page & linking to products
Hi,

have you configured a wishlist page in the Site Manager - Settings - <your site selected in drop down list - Ecommerce - Wishlist URL and Shopping cart URL?

Also it may be also a problem with postback. In case your site is running on IIS7 and you may need to add following key to your web.config file:
postback key IIS7

Best regards,
Ivana Tomanickova