Jump to content

Discount category


rodistrict

Recommended Posts

din phpmyadmin intri la sql si executi sintaxa de mai jos:

UPDATE ps_product SET reduction_percent = 20
WHERE id_product IN (SELECT id_product FROM ps_category_product WHERE id_category=4)



unde am pus 20% la reducere pentru categoria cu id-ul= 4
ca sa preiei id-ul categoriei tale deschide categoria din meniul cu categorii si vezi in url ce apare la id_category
vezi ca am folosit prefixul ps_ , care poate fi diferit in cazul tau vezi cu phpmyadmin ce apare

altfel, am vazut un modul(dar contra cost) in care poti sa faci modificari pe seturi de date cum doresti tu direct din catalog in back office.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...