nopCommerce team | retroviz wrote:Sorry, this doesn't make a lot of sense.
Question : Just Follow the Followint table in DB
(1) Nop_ProductAttribute : eg take one attributre Name = Color
(2) Nop_ProductVariantAttributeValue : eg we can set Color --- (1) Red
(2) Blue
(3) Green
I wont to give discount on each ProductVariantAttributes values i.e
Color-------> Red = 2 % (strore only 2 in DB) discount
Color-------> Blue = 5 % (strore only 5 in DB) discount
Color-------> Red = 3.5 % (strore only 3.5 in DB) discount
for that i was created on New table TestTable
colum datatype Product_AttributeWise_DiscountID int Unchecked
ProductVariantAttributeValueID int Checked
ProductVariantAttributeID int Checked
Discount float Checked
Quantity int Checked
Problem : i was add this class in NonModel.edmx file but ater adding this file errror come with Primary key and forign key .
This is possible in NopCommerce
Dipesh Jade (India)