Prestashop Core Application V1.5
  1. Prestashop Core Application V1.5
  2. PSCFV-7948

After addind/deleting products the cart doesn't show the changes until refresh

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • Security Level: All-users
    • Labels:
      None

      Description

      Hello,
      Whenever I have enabled Ajax mode when I add add or delete a product to cart it does not update until the I refresh the page. Reset the module, it seems to work fine but then returns to his old ways ... And every time I reboot the module I have add it to the hook "displayRightColumn" and correct its position.

      Please, I apologize for my English as it isn't my common language.

      Best regards!!

        Activity

        Hide
        Albert Cutrona added a comment -

        Hi!!

        I'm looking in my positions and I see this module hooked in:

        -displayHeader
        -displayRightColumn
        -displayTop

        So I understand that for the good function it should be only hooked in displayTop, isn't it?

        PD: Apologize for my English, it's not my common language.

        Show
        Albert Cutrona added a comment - Hi!! I'm looking in my positions and I see this module hooked in: -displayHeader -displayRightColumn -displayTop So I understand that for the good function it should be only hooked in displayTop, isn't it? PD: Apologize for my English, it's not my common language.
        Hide
        Gregory Roussac added a comment -

        No problem,

        either hook on top or on right but not both =)

        Regards

        Show
        Gregory Roussac added a comment - No problem, either hook on top or on right but not both =) Regards
        Hide
        Albert Cutrona added a comment -

        Hi Gregory!!

        I see and understand the problem and the solution, so for me this issue is solved.

        Thank you very much for your help and very best regards!!

        :-D

        Show
        Albert Cutrona added a comment - Hi Gregory!! I see and understand the problem and the solution, so for me this issue is solved. Thank you very much for your help and very best regards!! :-D
        Hide
        Philip Cavalier-Lumley added a comment -

        I have this problem - when the cart block is showing I cannot remove products from the cart using the little X on the right- when I click it I just get a page refresh. If I disable Ajax it makes no difference. but I have to have cart block hooked to header and right for ajax to work. I have followed the instructions above i.e. it is hooked on just the right block. If I try to enable/disable Ajax it makes no difference.

        Now that it is hooked on the right block only the layout of the cart block is ugly and simple.

        so I need to know how to make the cart block look like the other blocks and how to get the 'remove' product working.

        thanks

        Show
        Philip Cavalier-Lumley added a comment - I have this problem - when the cart block is showing I cannot remove products from the cart using the little X on the right- when I click it I just get a page refresh. If I disable Ajax it makes no difference. but I have to have cart block hooked to header and right for ajax to work. I have followed the instructions above i.e. it is hooked on just the right block. If I try to enable/disable Ajax it makes no difference. Now that it is hooked on the right block only the layout of the cart block is ugly and simple. so I need to know how to make the cart block look like the other blocks and how to get the 'remove' product working. thanks
        Hide
        Gregory Roussac added a comment -

        Hi Philipp,

        This sis certainly not related to the module but you may have a synatx error in a javascript file, this makes all scripts down.

        Did you installed a module recently ? Are you using last version of prestashop ( I believe your ar using 1.4.X). If not please first upgrade to last version.

        In a javascript console you will probably see the error, what is your shop url ?

        Show
        Gregory Roussac added a comment - Hi Philipp, This sis certainly not related to the module but you may have a synatx error in a javascript file, this makes all scripts down. Did you installed a module recently ? Are you using last version of prestashop ( I believe your ar using 1.4.X). If not please first upgrade to last version. In a javascript console you will probably see the error, what is your shop url ?

          People

          • Assignee:
            Gregory Roussac
            Reporter:
            Albert Cutrona
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: