Hi Rishi

I have some links in header.ftl for different type of products category and
all the product links are like this
"<@ofbizUrl>productcategory</@ofbizUrl>". 

My findings are when I click on any of the product link created in
header.ftl. I can still see that product in the cart but when I click on a
product info link shown under that particular product category (header.ftl),
carts get empty.

So as per your advised I checked the product info link in
productsummary.ftl:

  ${productUrl} 
                 "<@ofbizContentUrl
${contentPathPrefix?if_exists}${smallImageUrl}</@ofbizContentUrl>"
alt="Small Image"/>
             

My question is do I need to add "<@ofbizUrl>" in above link as well ( 
${productUrl}  )?

Please suggest

Regards
Gaurav



> Now you got the problem exactly, Please make use of
> <@ofbizUrl>yourRequest</@ofbizUrl> in your ftl or from where ever you are
> calling any request. If you are switching the port then use <@ofbizUrl
> secure="${request.isSecure()?string}">. By doing this I'm bit sure your
> problem should be solve.
>I do not have any other solution for this problem.

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Problem-With-Live-deployment-tp2224293p2239682.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to