O
O
Ogureccc2019-05-06 14:19:34
Drupal
Ogureccc, 2019-05-06 14:19:34

Is it realistic to set up pricing in Drupal?

Dropped TK. Is it possible to do this on Drupal 7?
1. Determining the price from the price type
Margin - sales to the counterparty for the last 30 days
Min Remains - planned sales of goods for each season (Winter, Summer, Autumn, Spring)
TOP600 - determined by Min Remains by sorting by quantity of the last 600 positions
The price is determined for the nomenclature by Type Price and City
If position is in TOP600
If Margin >=25000 then PriceType = "iWholesale"
ElseIf Margin >= 10000 then PriceType = "iPrice"
ElseIf Margin >= 5000 then PriceType = "Special 5"
ElseIf Margin >= 2000 then PriceType = " Spec 4"
ElseIf Margin >= 1000 then PriceType = "Spec 3"
ElseIf Margin >
ElseIf Margin >= 500 then PriceType = "Special 1"
ElseIf Margin >= 300 then PriceType = "City"
ElsePriceType = "Retail"
If not in TOP600
If Margin >= 10000 then PriceType = "iPrice"
ElseIf Margin >= 500 then PriceType = "Special 1"
OtherwiseIf Margin >= 300 then PriceType = "City" Otherwise PriceType
= "Retail"if “Special 5” the next step can be “ iPrice ” • “Forced price type” the price type will not change and will always be from the indicator .
If PriceType = "RETAIL" then PriceType = "Special 1"
ElseIf "City" then PriceType = "Special 2"
Any price type "Special" then PriceType = "Special 3
" from a certain price type in paragraph .1 (if the price type “Special 3” is defined, the step from the quantity is immediately considered from 10 pieces, i.e. up to 9 there will be “Special 3” more than ten and less than 20 “Special 4”, etc. .) If Quantity >=2 and Quantity < 3 then "City" ElseIf Quantity >=3 and Quantity < 4 then "Spec 1" ElseIf Quantity >=4 and Quantity < 6 then "Special 2" ElseIf Quantity >=6 and Quantity < 10 then Special 3 ElseIf Quantity > =10 and Quantity < 20 then "Special 4"
ElseIf Quantity >=20 and Quantity < 35 then “Special 5”
ElseIf Quantity >=35 then “iPrice”
If not included in the TOP600
The price is calculated proportionally on an accrual basis if more than 1 piece is purchased.
If PriceType "RETAIL"
"RETAIL" - (("RETAIL" - "City") / Min Remains * Quantity of purchased goods)
Example:
500 - ((500 - 400 ) / 50 * 3) = price will be 494
If PriceType "City"
"City" - (("City" - "Special 1") / Min Remains * Quantity)
If the Price Type is "Special 1"
If the goods on the balances are more than 70%
"Special 1" - (("Special 1" - "Special 2") / Min Remains * Quantity)
No further reduction is foreseen

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andead, 2019-05-06
@Ogureccc

"Customize" of course not. You will have to write all the logic yourself, as in any other cms.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question