Okay
  Public Ticket #2906038
shopping cart issues
Closed

Comments

  •  8
    SPYRIDON started the conversation

    Hi ,

    I encounter 2 issues with shopping cart using newyork 17-fashion 9-theme with prestashop 1.7.8.0.

     

    • 1) Shopping cart always displays the cover image of the combination items (wrong image) instead  of the right image of the item that I order.  by the way the description display the right info for the item. see attach screen shots
    • 2) when try to delete the shopping cart it does not clear the cart display from the current page unless I refresh the page every time. see screenshots

     (I have NO such issues with prestashop 1.7.7.8)

    thanks

  •  309
    Andrea replied

    We're sorry for our late reply because we had 2 weekend days off.

    1. Go to Product and select cover image for each Product with combinations
    https://prnt.sc/1y0g6v3
    2. We reinstalled your theme and the Cart still works when you delete it without having to reload the page
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Thank you for your reply but I do not think you understood where the issues are because maybe I did not mentioned that I work With the theme on presta 1.7.8.0 locally on my own computer hosted with wamp server trying to prepare it and replace (update) the theme on presta 1.7.5.2 that already exists on my current URL ‘wonders.gr’

     I do not understand which theme did you reinstalled ?

    If you understand me Can you tell me how to fix the issues myself before upload it?

    Thank you

  •  309
    Andrea replied

    Hi
    I see what you mean, we are also having problems with prestashop's ps_shoppingcart module on ps1.7.8.0
    You can use a lower ps version like 1.7.7.8 to make it work properly while we wait for a response from the PS team
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  309
    Andrea replied

    Hi
    I found a solution that I just tried on the theme I installed with ps1.7.8.0, you can replace the file /themes/core.js in the older ps version, then reload the page and try it
    thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    I replaced the file /theme/core.js as you told me and has solved only the second issue that has to do with the shopping cart delete.

    The first issue with the wrong product image in the shopping cart is not solved. Do you have any other idea for a solution to this issue while you wait a response from PS team ?

    thanks

     

  •  309
    Andrea replied

    Hi
    With the image prduct cart, as I said below, go to select the image cover for each combination
    http://prnt.sc/1y3zojo
    You edit the following files as shown below
    ({$product.images[0].bySize.large_default.url})
    /themes/name_theme/modules/ps_shoppingcart/ps_shoppingcart.tpl
    https://prnt.sc/1y43f2l
    /themes/name_theme/templates/checkout/_partials/cart-detailed-product-line.tpl
    https://prnt.sc/1y43vbm
    We haven't received any response from ps yet with the ps_shoppingcart module, you can use the existing grasse.js file to get your ajax cart working

    thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Thank you for your reply.

    I edited both files that solved the image display in the 2 instances (pages) of the shopping cart ,  but still there is an issue with the image on ‘Product successfully added to your shopping cart’. See attach screenshots

    thanks 

    By the way I’d like to just mention that ({$product.images[0].bySize.large_default.url})  was not in the file  /ps_shoppingcart.tpl but by searching I found it in the file /ps_shoppingcart-content.tpl

  •  309
    Andrea replied

    Hi
    You do the same for the popup add to cart successfully in the file
    /themes/name_theme/modules/ps_shoppingcart/modal.tpl
    follow the following photo https://prnt.sc/1y83fr3
    With ({$product.images[0].bySize.large_default.url}) I comment so you can copy and paste faster
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    I followed exactly your photo and your comment and now I have no image at all. See attach screenshots

    thanks

  •  309
    Andrea replied

    Hi
    Have you selected Combinations for each of your products?
    Did you check in Design -> Image Settings there is large_default?
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Yes I have selected combinations and checked in Design -> Image Settings there is large_default. see attach screen shots

    thanks

  •  309
    Andrea replied

    Hi
    I reinstalled the new york 17-fashion 9-theme you are using on ps 1.7.8.0, I fixed the modal add to cart as I showed you and it works fine with the cover image selected
    https://prnt.sc/1yaz1y9
    https://prnt.sc/1yaz5ek
    Do you cache when editing? You can clear the cache in Performance
    https://prnt.sc/1yayvv8
    Since you are installing your theme locally, I can't check your exact error
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
  •  8
    SPYRIDON replied

    Hi,

    I have Template compilation always to ‘Force compilation’ and all caches OFF plus clear browser history and refresh pages all the times. See attach screen shot_6.

  •  8
  •  8
    SPYRIDON replied

    Hi,

    while I was trying to edit the file exactly as per your sample and did not work, I tried a few other options and by chance editing from your sample only ' images[0] 'replacing ' cover ' seems the issue is solved. See my edited attach file 1 and files 2 & 3 that works fine for me

    Are you sure the edited part of the file you send me is the one exactly you used in your testing reinstallation and works fine for you? See attached file 4 that you sent me.

    Please can you let me know what you think of it and how do you explain that your sample edit may work for you and not for me?

    thanks 

  •  309
    Andrea replied

    Hi
    Your edit (photo 1) is correct and you can use it
    I tried both your way and on the theme I installed it works fine too
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    By what you know and hear Is there any other issues with 1.7.8.0 that I should be aware of for later on, or should I use 1.7.7.8 to finish and upload my shop safer faster ?

    Also do you have any idea why your sample ({$product.images[0].bySize.large_default.url})  for ' modal.tpl ' as it is does not work for me?  

    I’ll appreciate your opinion.

    thanks

  •  309
    Andrea replied

    Hi
    Currently we have not received any other feedback from people about ps1.7.8.0
    If you want a stable version, you can use ps1.7.7.8, otherwise you can still use 1.7.8.0
    I can't see the module you installed so I can't tell what you're missing in that module so I can compare it for you
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Thanks for your quick re-reply.

    Is the module identical in a recreation of the same theme using same presta version? 

    if it is of any help, see attach screen shots of my installed module.

    thanks  

  •  309
    Andrea replied

    Hi
    Maybe your module is missing the parameter passed to $product in the php file to the modal.tpl file, so it doesn't accept editing like mine
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    I may comprehend it if you could send me screen shots of your modal.tpl file like I did but if you can’t that’s okey.

    Thank you very very much for all the help up to now and can close this ticket.

  •  309
    Andrea replied

    Hi
    You can download the whole ps_shoppingcart folder here
    https://www.dropbox.com/sh/kcrspedl8iez89a/AADFQCz7kzcsLkLomDfpwsXIa?dl=0


    You're welcome!

    Please let us know if we can be of further assistance.

    If you're happy with the theme and support you received we would really appreciate it if you could leave us a good review and positive comment over on themeforest.

    It only takes a moment and really helps us to keep doing what we do best :)

    Just go to http://themeforest.net/downloads and click "Rate this item" under your theme.

    Many thanks in advance!

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Comment is already left on themeforest reviews and thank you very much for your quick & analytical response.

    Your ps_shoppingcart module contains (7) files with (2) of them  ‘ps_shoppingcart-button & ps_shoppingcart-button-sticky’ are not in my module.

    On the other hand my module contains (6) files with (1) of them ‘ps_shoppingcart-content’ is not in your module,

    The only exact similar file yours with mine is ‘ps_shippingcart-product-line.tpl’

    Besides the above files I also do not comprehend why your files in comparison to mine have differences in the codes, should they be exactly the same? Since we use same version of presta 1.7.8.0 and the same theme newyork 17-fashio9-theme-install? See attach screen shots of file comparison yours with mine.

    Your enlightenment to all of the above will be most appreciated.

    thanks again  

  •  8
    SPYRIDON replied

    The only exact similar file yours with mine is ‘ps_shippingcart-product-line.tpl’ see attach file

  •  309
    Andrea replied

    Hi
    You can see the image below in the php file
    https://prnt.sc/1ypjtap
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    Hi,

    Thank you for your quick reply but I do not understand the point of your message I think we may loose communication (understanding).

    I sent you two previous messages in split because I can not put more than 4 attachments at the time.

    My question was why the files of ‘’ps_shoppingcart’’ you sent me are different than my files except the only file ‘’ps_shoppingcart-product-line.tpl’’ which is exact same as my file.

    Can you please read carefully my two previous messages and if are confusing or not clear enough, please can you let me know and I’ll try my best to rephrase them maybe in a more clear way.

    thanks  

  •  309
    Andrea replied

    Hi
    I know what you mean
    I found a ps_shoppingcart module in theme-install and I removed it to use the default prestashop theme, so there's another place.
    I have reinstalled the same as the theme you installed and the files you told me to check are the same as yours
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team

  •  8
    SPYRIDON replied

    OK, have a good day and can close this ticket now.

    thank you.

  •  309
    Andrea replied

    Hi
    It's very pleasure to help you
    If you have any other problems, you can give us feedback
    We will check for you
    Have a good day
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team