Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Palle Hansen 143 posts 396 karma points
    Feb 07, 2014 @ 14:12
    Palle Hansen
    0

    Product images disappear when the product is in cart

    Hi,
    Im using TC vers. 2.1.3 with Umbraco vers.6.1.6.

    Problem:
    When a customer buys a product it goes in cart okay, but when they refreshes or click on product link in cart, all the images to the product is gone?

    It comes back if I go to backend and republish the product.

    It's like the data somehow disappear form the XML?

    Does enyone have an idea why.

    /Palle

  • Rune Grønkjær 1371 posts 3102 karma points
    Feb 07, 2014 @ 17:23
    Rune Grønkjær
    0

    Hi Palle,

    It's probably because you link to the variant and not the product. Check out the url and change it if it's wrong.

    /Rune

  • Palle Hansen 143 posts 396 karma points
    Feb 07, 2014 @ 17:31
    Palle Hansen
    0

    Hi Rune.

    It doesn't looks likes that's the issue. The link is okay.

    If it's for any use, this is the link to my developer site: http://geilsk.attcloud.dk/

    /Palle 

  • Rune Grønkjær 1371 posts 3102 karma points
    Feb 07, 2014 @ 19:50
    Rune Grønkjær
    0

    It does look a lot like it's the link, that's the problem. The correct link:

    http://geilsk.attcloud.dk/butik/produkter/nederdele/pletskud/

    And the link from the cart:

    http://geilsk.attcloud.dk/butik/produkter/nederdele/pletskud/tynd-uld/

    Just change the link in the cart, and you're good to go.

    /Rune

  • Palle Hansen 143 posts 396 karma points
    Feb 08, 2014 @ 12:34
    Palle Hansen
    0

    Yes, you are right, but if you buy the same product again og then go to the frontpage and then click on the product "Plet" the images is gone on the productside?

  • Rune Grønkjær 1371 posts 3102 karma points
    Feb 10, 2014 @ 07:48
    Rune Grønkjær
    0

    Hm, yes that actually looks weird. Please post your code for the page. Maybe something obvious is wrong. There must be a logical explanaition :)

    /Rune

  • Palle Hansen 143 posts 396 karma points
    Feb 10, 2014 @ 09:18
    Palle Hansen
    0

    Yes, it's pretty weird.
    It's a pretty long code on my product page. I'm not using TC normal product view code.
    But I found out that if I go to Umbracosettings.config at set  <UmbracoLibraryCacheDuration>1800</UmbracoLibraryCacheDuration> to  <UmbracoLibraryCacheDuration>0</UmbracoLibraryCacheDuration> It works all around.

    So something is getting the cache smashed when the product goes in cart?

    I have a few extra packages installed on my solution:
     - Config Tree
     - Embedded Content
     - tswe.log4umbraco
     - XSLTsearch

     

     

  • Rune Grønkjær 1371 posts 3102 karma points
    Feb 10, 2014 @ 11:43
    Rune Grønkjær
    0

    The add to cart only adds a new order id to the users session. So if something is going wrong, maybe it's because you handle the order in some way in your xslt?

    Do you have the product macro set to be cached for at certain time, for optimization?

    /Rune

  • Palle Hansen 143 posts 396 karma points
    Feb 12, 2014 @ 08:37
    Palle Hansen
    0

    Well, I did have some caching on some of my macros, but it was the same. Now I've turned it off.
    And the only way it works now is, that Umbracosettings is set to 0.
     

  • Rune Grønkjær 1371 posts 3102 karma points
    Feb 12, 2014 @ 09:29
    Rune Grønkjær
    0

    Hi Palle,

    I don't see how it's something Tea Commerce could do by default. If I were you I would start removing stuff from my product page, to debug and find the problem. There must be a logical Umbraco explanaition hidden in there somehow. Rip it appart and make a simpler example and see if that will work.

    /Rune

  • Palle Hansen 143 posts 396 karma points
    Feb 12, 2014 @ 11:34
    Palle Hansen
    0

    Hi Rune.

    Yeps. I'll go debug. Thanks for your time :)

  • Rune Grønkjær 1371 posts 3102 karma points
    Feb 13, 2014 @ 10:36
    Rune Grønkjær
    0

    Please let us know what you find

    /Rune

Please Sign in or register to post replies

Write your reply to:

Draft