Jump to content

How to access/add specific prices of products through modules?


Recommended Posts

  • 1 month later...

Informations about specific prices are in ps_specific_price.

In php, you can get from the database the discount rule for a product like this:

$specific_price = SpecificPrice::getSpecificPrice(
	(int) $id_product,
	$id_shop,
	$id_currency,
	$id_country,
	$id_group,
	$quantity,
	$id_product_attribute,
	$id_customer,
	$id_cart,
	$real_quantity
);

 

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...