Back to Documentation
Dropshipping Module

How to Set the Default Profit Margin

Learn the IHASHOP default profit margin setting, cost markup, suggested prices and profitability calculations.

What is the default profit margin?

The IHASHOP Dropshipping 1.0.0 default profit margin is a percentage added to supplier cost. Mathematically it is markup, not net profit margin. The kar_marji_yuzde setting is supplier-specific; each supplier can have a different value.

Configure the admin setting

Open Marketplace > Dropshipping Product Publishing (/secure/dropshipping/product-publishing). Select the supplier, enter e.g. 25 in Default profit margin (%) and click Save. Check Profit margin saved and candidate price suggestions. Valid entitlement, Seller role and admin permission are required. Saving does not change existing shop prices.

Valid values and safe storage

UrunYayinServisi::marjKaydet accepts 0–1000 and at most two significant decimal places. 12,5 is valid; existing tests reject 12.345, -1, 1000.01 and abc. Decimal comma or dot is supported; avoid ambiguous thousands formatting. Blank removes the setting; zero explicitly selects 0%. MARJ_GECERSIZ rejects invalid values without changing prior settings. A transaction and supplier row lock preserve other settings.

Calculate suggested prices

FiyatKarari uses the highest calculable VAT-inclusive variant cost. Cost × (1 + markup / 100) is the base suggestion. Tutar uses integer arithmetic with four cost decimals and two percentage decimals, rounding the final price half-up to cents. 120 TRY × 1.25 = 150 TRY. No markup means no suggestion. Known non-TRY costs or exclusive VAT with missing rate prevent suggestions. The standard snapshot writer does not populate tax_rate.

Unknown VAT may use raw cost; separate sales safeguards apply.

New versus linked products

UrunYayinServisi::oneri passes null minimum markup for new candidates and creation. Existing linked product suggestions use the greater of default markup price and minimum floor. At 100 TRY cost, 25% default and 50% minimum, candidate suggestion is 125 TRY and linked suggestion 150 TRY. Valid manual pricing takes precedence for creation.

Manual price must be positive, have at most two significant decimals and not exceed 99,999,999.99 TRY. Without suggestion or manual price, FIYAT_GEREKLI occurs. New products are inactive; sales safety is separate. Candidate cost display may show highest raw cost while suggestion uses VAT-inclusive calculation.

GiyimDepom and Luxstoree examples

Illustrative GiyimDepom costs are 80 and 100 TRY, and Luxstoree costs 120 and 150 TRY. Assuming verified VAT inclusion and 25% markup, suggestions are 125 and 187.50 TRY. Built-in GiyimDepom JSON leaves cost and currency unknown; saved mapping can use Price and @TRY. Luxstoree XML reads price and currency. Both need separate VAT verification. These are not live prices.

GiyimDepomLuxstoree80 / 100 TRY120 / 150 TRY25%25%125 TRY187.50 TRY

Evaluate profitability

A 100 TRY cost and 125 TRY price give a 25 TRY difference, or 20% of selling price. If illustrative shipping, commission and advertising total 15 TRY, the simplified remainder is 10 TRY, or 8% of selling price. Compare prices and costs on a consistent basis. This is not tax accounting or a net profit guarantee. The formula does not automatically calculate expenses or FX.

Measure actual costs before selecting markup; 1000% is a technical limit, not a recommendation.

Existing tests and checks

UrunYayinTest covers 150 TRY suggested from 120 TRY at 25%, blank markup, invalid values and manual price priority. UrunYayiniEkraniTest checks creation of an inactive 130 TRY product from 100 TRY and 30%. SatisFiyatiTest expects linked product suggestions not to fall below the minimum floor. Review suggestions after saving; existing products require separate Apply price. This guide follows source code and existing test expectations.

Related guides

Frequently asked questions

What happens when markup is blank?

The setting is removed and no suggestion appears.

Is zero the same as blank?

No; zero is a valid markup.

Is 25% markup net profit?

No; it is a percentage added to cost.

Does saving change selling prices?

No; applying prices is separate.

Does minimum markup affect new candidates?

Not in the reviewed creation flow; it affects linked product suggestions.

How Do Minimum Profit Margin and Loss Protection Work?

Frequently asked about this

The setting is removed and no suggestion appears.