{"id":416141,"date":"2026-11-28T00:00:21","date_gmt":"2026-11-28T00:00:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/dahuconcept-customer-pricing-for-woocommerce\/"},"modified":"2026-11-28T00:00:13","modified_gmt":"2026-11-28T00:00:13","slug":"dahuconcept-customer-pricing","status":"publish","type":"plugin","link":"https:\/\/tw.wordpress.org\/plugins\/dahuconcept-customer-pricing\/","author":17844309,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.2","stable_tag":"1.1.2","tested":"7.1.5","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"DahuConcept Customer Pricing for WooCommerce","header_author":"Hugo Vial-Jaime","header_description":"Per-account pricing for WooCommerce: named customer tiers, a price per tier on every product and variation, resale-margin display, a view switch between tier and public price, and admin-created order lines priced correctly net of tax.","last_updated":"2026-11-28 00:00:13","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/dahu-concept.fr","rating":0,"author_block_rating":0,"active_installs":0,"downloads":43,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.2":{"tag":"1.1.2","author":"dahuconcept","date":"2026-11-28 00:00:13","revision":3830636}},"upgrade_notice":{"1.1.2":"<p>French now works on a copy installed by hand: the compiled catalogue travels in the package. The French readme moves under docs\/.<\/p>","1.1.1":"<p>WordPress 6.2 is now the floor, in step with the rest of the family. Nothing else changes.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3830635,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3830635,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3830635,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3830635,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3830635,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[10553,243190,273067,51032,286],"plugin_category":[45],"plugin_contributors":[292004],"plugin_business_model":[],"class_list":["post-416141","plugin","type-plugin","status-publish","hentry","plugin_tags-b2b","plugin_tags-bulk-pricing","plugin_tags-customer-pricing","plugin_tags-wholesale","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-dahuconcept","plugin_committers-dahuconcept"],"banners":{"banner":"https:\/\/ps.w.org\/dahuconcept-customer-pricing\/assets\/banner-772x250.png?rev=3830635","banner_2x":"https:\/\/ps.w.org\/dahuconcept-customer-pricing\/assets\/banner-1544x500.png?rev=3830635","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/dahuconcept-customer-pricing\/assets\/icon.svg?rev=3830635","icon":"https:\/\/ps.w.org\/dahuconcept-customer-pricing\/assets\/icon.svg?rev=3830635","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>DahuConcept Customer Pricing adds price tiers to a WooCommerce shop. A tier is a named\nprice level you create \u2014 Trade, Wholesale, Gold, whatever your shop calls them\n\u2014 and every product and variation gains one price field per tier. Map a\nWordPress role to a tier and accounts holding that role are charged that price,\nin the catalogue, in the cart, at checkout, and on an order a shop manager\nbuilds by hand.<\/p>\n\n<p>It is built for a shop that sells the same catalogue to the public and to\nresellers, and it is opinionated about what that needs:<\/p>\n\n<ul>\n<li><strong>Both prices, side by side.<\/strong> A reseller sees their own price and the public\none, each with a label you write (\"Your price:\", \"Suggested retail:\"). The\npublic figure is the number they will put on their own shelf, so it is shown\nrather than hidden.<\/li>\n<li><strong>The margin, if you want it.<\/strong> The gap between the two, as a percentage of\nthe public price or as a multiplier. Off by default: a margin is commercial\ninformation, not decoration.<\/li>\n<li><strong>A view switch.<\/strong> An account can flip between its own prices and the public\nones with a shortcode-placed link. It changes what is displayed only \u2014 the\ncart always charges the account's own price.<\/li>\n<li><strong>A tier preview from the toolbar.<\/strong> Look at the shop exactly as a tier's\ncustomers see it, without a second account. Prices while previewing really\nare that tier's prices, so an order cannot be placed until you stop: the\nbanner says so and checkout refuses.<\/li>\n<li><strong>Manually built orders priced correctly.<\/strong> A line added from the order\nscreen's \"Add product\" modal is normally priced from the catalogue, by a\nrequest whose user is the shop manager \u2014 so a trade customer's phone order\ncomes out at public prices. This plugin reprices it from the order's\ncustomer, net of tax, and leaves tax itself to WooCommerce.<\/li>\n<\/ul>\n\n<p>Nothing changes on your shop until you create a tier and map a role to it.\nActivating the plugin on its own is a no-op.<\/p>\n\n<h4>Works with your existing prices<\/h4>\n\n<p>Only a product's price is overridden; its regular price is left alone. That is\nwhat keeps the public price readable while a tier price is in force, and it is\nwhat the display and the margin are computed from.<\/p>\n\n<p>A shop sale price does not stack on top of a tier price. A tier price is a\nnegotiated figure, not a discount off the public one, and compounding them\nwould make a reseller's price depend on a promotion they never agreed to. If\nyou want the lower of the two instead, the <code>ubac_pricing_price<\/code> filter is\nthree lines away.<\/p>\n\n<h4>Variable products<\/h4>\n\n<p>Each variation gets its own tier price fields, and a variation left empty\ninherits its parent's. The cached price range of a variable product is keyed by\ntier, so one account's prices are never served to another from cache.<\/p>\n\n<h4>For developers<\/h4>\n\n<ul>\n<li><code>ubac_pricing_price<\/code> \u2014 supply a tier price from anywhere: a commercial\npricing plugin, a quantity-break table, an ERP. Return null for \"no tier\nprice\".<\/li>\n<li><code>ubac_pricing_child_line_metas<\/code> \u2014 the metas marking an order line whose\nprice is carried by a parent line, so bundle components are left alone.<\/li>\n<li><code>ubac_pricing_get_tier()<\/code>, <code>ubac_pricing_get_price_labels()<\/code> and\n  ubac_pricing_resolve_line_pricing() \u2014 ask for a tier, its labels, or\nthe net price a given customer pays, which is what code building an order\nneeds.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin contacts no external service. It sends nothing anywhere, collects\nno statistics, and makes no network request of any kind.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate the plugin. WooCommerce must be active.<\/li>\n<li>Go to WooCommerce \u2192 User pricing and create a tier: a name, and the two\nlabels shown in front of a price.<\/li>\n<li>On the same screen, map the WordPress roles that should get that tier.<\/li>\n<li>Edit a product. The General tab now has one price field per tier; a variable\nproduct has them on each variation.<\/li>\n<\/ol>\n\n<p>An empty tier price field means that tier pays the public price. A zero means\nthat tier pays nothing \u2014 the two are different instructions and the plugin\nkeeps them apart.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20view%20switch%20change%20what%20a%20customer%20is%20charged%3F\"><h3>Does the view switch change what a customer is charged?<\/h3><\/dt>\n<dd><p>No. It changes the prices shown in the catalogue. The cart and checkout always\ncharge the account's own tier price, and the cart keeps showing that price even\nwhile the catalogue is showing public ones, because the cart's job is to say\nwhat this account will be billed.<\/p><\/dd>\n<dt id=\"what%20happens%20to%20my%20tier%20prices%20if%20i%20uninstall%3F\"><h3>What happens to my tier prices if I uninstall?<\/h3><\/dt>\n<dd><p>They are kept. They are typed in by hand, there can be thousands of them, and\ndeleting them cannot be undone \u2014 so uninstalling leaves them in place and a\nreinstall finds them again. There is a setting on the pricing screen to delete\nthem instead, off by default.<\/p><\/dd>\n<dt id=\"i%20deleted%20a%20tier.%20did%20i%20lose%20its%20prices%3F\"><h3>I deleted a tier. Did I lose its prices?<\/h3><\/dt>\n<dd><p>No. Deleting a tier removes it from the settings and unmaps its roles; every\nprice filed under it stays where it is, and recreating the tier under the same\nname brings them all back.<\/p><\/dd>\n<dt id=\"can%20an%20account%20hold%20two%20tiers%3F\"><h3>Can an account hold two tiers?<\/h3><\/dt>\n<dd><p>It can hold two mapped roles, and it will get one of the two tiers \u2014 which one\nis not defined. Give an account one mapped role.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Changed: the compiled French catalogue now travels in the package. It was left out on the grounds that the directory serves language packs, which is true only for a copy installed from the directory and only once translations have been imported: a copy installed by hand showed English with a catalogue that was fully translated.<\/li>\n<li>Changed: the French readme moves under docs\/, so the directory's checker no longer reports an unexpected markdown file at the plugin root.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Changed: WordPress 6.2 is now the floor. Three extensions of the family need it for prepare()'s %i identifier placeholder, and the family states one floor rather than two because the welcome screen and the shared admin stylesheet are copied byte for byte across it.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>The activation screen now opens on the plugin's own mark rather than its initials, and the banner carries the same drawing as a watermark.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First public release.<\/li>\n<\/ul>","raw_excerpt":"Give each customer role its own price on every product, with the public price and the resale margin shown beside it.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/416141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=416141"}],"author":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dahuconcept"}],"wp:attachment":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=416141"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=416141"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=416141"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=416141"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=416141"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=416141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}