onurtan Posted March 16, 2013 Share Posted March 16, 2013 (edited) Merhaba, Arkadaşlar prestashop ta yeniyim. Php kod olarak sql den cart taki indirim tutarını çekerek bir değişkene atamak istiyorum. Bilen arkadaşlardan yardım istiyorum. Edited March 16, 2013 by onurtan (see edit history) Link to comment Share on other sites More sharing options...
SahinSOLMAZ Posted March 16, 2013 Share Posted March 16, 2013 Merhabalar, Bunu nerede kullanmak istiyorsunuz, sanırım şuradaki gibi bir düzenleme yapmak istiyorsunuz buradaki iletiyi inceleyerek fikir edinebilirsiniz. kolay gelsin. Link to comment Share on other sites More sharing options...
onurtan Posted March 16, 2013 Author Share Posted March 16, 2013 Öncelikle mesajına teşekkür ederim. Ürün indirimleri değilde alışveriş sepetindeki ürünlere uyguladığımız kupon, hediye indirimlerinin toplamını bir değişkene atayıp başka bir işlemde kullanacağım. Link to comment Share on other sites More sharing options...
EK-Si POS Posted March 19, 2013 Share Posted March 19, 2013 Araştırmanıza başlangıç (PS 1.4 için): $kuponkodu='E4ANME55'; SELECT id_discount_type, value `ps_discount` WHERE name='$kuponkodu' İndirim tipi 1se yüzde, 2'yse miktar, 3'se ücretsiz kargo. Bu tablodaki diğer bilgileri de hesaba katabilirsiniz. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now