Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price round problem #100

Open
TurolGames opened this issue Feb 18, 2022 · 4 comments
Open

Price round problem #100

TurolGames opened this issue Feb 18, 2022 · 4 comments

Comments

@TurolGames
Copy link

Hi! I've a Prestashop 1.6.1.5 and we have problems with the prices of products on sale.

For example:

  • Feed valor: 15.22EUR
  • Web valor: 15.21EUR

Could you help me please?

Thanks

@d1m007
Copy link
Owner

d1m007 commented Feb 18, 2022

Hi,
That is certainly due to the round function.
Do you indicate prices in euro when registering your products? Or any other money?
What is the right price in your example ?

@TurolGames
Copy link
Author

Hi!

All of our prices are in €.

The correct price, for example, is this: https://www.turolgames.com/en/cards/69973-lama-rock-roll

13,48€ in the online store.

Into the feed, the price is 13,49€ and Merchant Center reject these products.

@d1m007
Copy link
Owner

d1m007 commented Feb 21, 2022

Ok, I tried to add product in cart on your page :

  • at first, price was 14.50€ but has changed, maybe you applied some sort of price reduction (-7%) a few minutes ago ?
  • now on product page price is 13,48 € (tax incl.) -7% (from 14,50 € tax incl.) <= that fits your previous comment
  • when adding product to cart, I see :
    "Product successfully added to your shopping cart
    Lama Rock & Roll
    Quantity 1
    Total 13,49 €" <= there's already a problem here
  • when i mouseover the cart, I see :
    "1 x [Lama Rock ...]
    13,49€
    6,00 € Shipping
    19,49 € Total" <= I think that is your "real" price at the end (13.49€)

It seems that your problem doesn't comes from the gshopping-flux module, but from Prestashop itself (?) : difference between prices on product page and prices elsewhere.
The price exported in the Google Merchant Center is right, it's the same than the one I got in cart.
I suggest you change the reduct percentage to correctly fit your needs (get the same price on all pages), or ask for some solution about this issue in the Prestashop forum. I think price on product page is not the right one, it's possible to correct the round function to get the same price everywhere (if I remember well I already got the same issue a few years before on a previous prestashop version).

Feel free to tell us how you got rid of the problem, if ever you did.
[EDIT] btw, your products are pretty cool.

@d1m007
Copy link
Owner

d1m007 commented Feb 21, 2022

Problem has already happened and has been solved here (on previous version - page in french):
https://www.prestashop.com/forums/topic/336785-probl%C3%A8me-de-diff%C3%A9rence-de-prix-entre-la-fiche-produit-et-le-panier/

what is your Prestashop version ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants