Okay
  Public Ticket #3174825
order confirmation page issue
Closed

Comments

  •  8
    SPYRIDON started the conversation

    Hi

    URGENT MY SHOP IS ENABLED

    I encounter the following issue when I test  buying a product.

    On the final page of order confirmation below there is a display of ‘POPULAR PRODUCTS’ and in a weired formation. See attached file

    Please can you tell me how to fix this?

    Also if I DO NOT want to display this category there, where do I manage it from?

    I’ve disabled ‘’field top sellers block’’ & ‘’Best selling products’’ but no solution to eliminate the display.

    I also checked positions but I do not see anything there to relate to this.

     Thanks 

  •  315
    Andrea replied

    Hi
    You go to the file
    theme_name_theme/templates/checkout/_partials/order-confirmation-table.tpl
    Find out what hooks are on your confirmed order page
    (Ex: displayProductPriceBlock, https://prnt.sc/o0-8o0Ux-1gN)
    look in Design -> Positions those hooks to see if they contain your module and delete that module.
    If that hook you enjoy other pages, you can delete that hook in the file.
    Note: I just tried to order 1 of your products to test, you can ignore or delete that order
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Your Advice does not solve the issue unless I misunderstood your message

    I deleted from Design-> Positions the module: Prestashop checkout under the hook: Display ProductPriceBlock but it did not solve the issue and when I tried to transplant back the module I can not find the hook: Display ProductPriceBlock .

    Anyhow after that I deleted the following lines 83-84 from the file as you told me : see file1

     {/if}

                {hook h='displayProductPriceBlock' product=$product type="unit_price"}

     But this action breaks  the checkout page and is not working proparly

    I’ve restored back the lines and I’m sending you in Private, account permissions to check it out yourself

    Please let me know ASAP

    Thanks

  •   SPYRIDON replied privately
  •  315
    Andrea replied

    We're sorry for our late reply because we had weekend days off.
    We need to know what modules you use for your confirmation order page to check what hooks it is in
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Can you be more specific?

    where do I find the modules from ? that used for the confirmation order page ?

    Thanks

  •  315
    Andrea replied

    Hi
    Send us your fully functional backoffice page so we can test it
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •   SPYRIDON replied privately
  •  315
    Andrea replied

    Hi
    You go to Design -> Positions find the Featured products module and try to delete it in the hooks and proceed to checkout to see if your product block is lost, we can't proceed to checkout on your page so you can check it.
    https://prnt.sc/MIN4hX6RDLei
    If your product block is not lost on hook deletion, you can re-add your module to the deleted hooks to avoid cluttering your page.
    https://prnt.sc/LqIUn0NRMVMq
    https://prnt.sc/op7Rh8JjoR_b
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    OK product block removed from the page by unhook the module ‘’Featured products’’ from the hook ‘’displayOrderConfirmation2'' see file1

    Now if I decide to transplant back the module to display the product block but in a properly way (images and action-buttons), can you tell me How to fix that by myself? see file2

    Thanks

  •  315
    Andrea replied

    Hi
    You find the template of that module, add the class "horizontal_mode" to the largest div tag of the file
    for example the module related product below
    https://prnt.sc/ULFDokjIkQrv
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Can you please remind me how to find the template?

    Thanks 

  •  315
    Andrea replied

    Hi
    It is usually located in the modules/module_name/views/templates/hook/ folder of the module
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    I'm inside the file. see file1

    where do I add the class ''horizontal_mode'' ?

    Thanks

  •  315
    Andrea replied

    Hi
    You can add it next to the products class
    <div class="products horizontal_mode">
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    I added it but it doesn't work out. see files

    Thanks

  •  315
    Andrea replied

    Please provide us FTP credentials and Back Office access of your site.

    We will handle the problem to help you.

    Best Regards,

    Andrea - FieldThemes Support Team

  •   SPYRIDON replied privately
  •  315
    Andrea replied

    Hi
    Sorry for the late reply, I was sick.
    You can send us full rights to your account
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    I wish you to be well

    Are you better now?

    I sent full rights in the other ticket 

    Thanks

  •  315
    Andrea replied

    Hi
    You can check it again
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Issue solved Thanks.see file3

    Can you tell me what else you did besides the addition of ''horizontal_mode'' see file 4 

    Thanks

  •  315
    Andrea replied

    Hi
    Usually with modules you install from prestashop (usually prefixed with ps_) it will have a file in /theme/name_theme/module/ folder and you need to edit in that file.
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Are you talking about the file: ps_featureproducts.tpl?

  •  315
    Andrea replied

    Hi
    Yes it is
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    can you tell me what you edit in the file?

    Thanks

  •  315
    Andrea replied

    Hi
    We add the class as said earlier
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Is it only the addition of ‘’horizontal_mode’’ to the class? See file

    Thanks

  •  315
    Andrea replied

    We're sorry for our late reply because we had weekend days off.
    That's right, we explained it in previous messages, you can review it
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    I know you explained before and you had also told me and I had edited the class by adding  myself the ‘’horizontal mode’’ but did not work out with me, that’s why I persisted asking if you did something else besides the above edit.

    Any how let not spend more time on this.

    Issue is solved. All OK

    Can close this ticket

    Thanks 

  •  315
    Andrea replied

    Hi
    Wish you a good day
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team