alışveriş sepeti fiyat değişimi

0 Cevap php

I 600,00 için bir Laptop var söylüyorlar. I $ 650,00 olarak değiştirin söylüyorlar. Nasıl alışveriş sepetlerini bu ele? Gibi onlar sepeti veya kalemindeki fiyat saklamak? Nasıl onlar istedim ama onlara sormadan müşteri yeni bir değişiklik fatura değil fiyat olsun emin olabilirim? Veya çoğu hem bunları saklamak?

I was thinking maybe i could store it in both. So if the current price is over the cart price for a item, don't remove it/bill them from their cart. Then after, tell them what was billed/email a receipt for the items that didn't change that was billed(say they had more then one item) and remove it from the cart. For the items that did change, say something like "Items left in cart due to price change, please check if you still want to buy the items at the new price." So leave the items that changed in the cart but update the price in the cart.

Bunu nasıl benim fikrim şu. Ben dil önemli gerektiğini sanmıyorum. Bu mantıklı bir tür soru daha sanırım. Çoğu alışveriş sepetlerini bu şekilde yapmak ya da daha iyi bir yolu var mı?

0 Cevap