<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Product with calculated price in Commerce Tools</title>
    <link>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1177889#M1508</link>
    <description>&lt;P&gt;I need to create a fee product that calculates based on the subtotal of a sub-set of products in a quote. Each product has a type. In this specific case, I need to add a fee that is 20% of the subtotal of food and beverage items in the quote. Is this possible in hubspot?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jul 2025 18:48:44 GMT</pubDate>
    <dc:creator>ShaneStout</dc:creator>
    <dc:date>2025-07-17T18:48:44Z</dc:date>
    <item>
      <title>Product with calculated price</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1177889#M1508</link>
      <description>&lt;P&gt;I need to create a fee product that calculates based on the subtotal of a sub-set of products in a quote. Each product has a type. In this specific case, I need to add a fee that is 20% of the subtotal of food and beverage items in the quote. Is this possible in hubspot?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 18:48:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1177889#M1508</guid>
      <dc:creator>ShaneStout</dc:creator>
      <dc:date>2025-07-17T18:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Product with calculated price</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1178157#M1509</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/967567"&gt;@ShaneStout&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="83" data-end="329"&gt;HubSpot doesn’t currently support dynamic pricing based on a subset of line items within a quote. The built-in quote editor only allows you to apply a one-time fee as a percentage of the entire quote subtotal, not just specific product types.&lt;/P&gt;
&lt;P data-start="83" data-end="329"&gt;You can read more on this in the HubSpot knowledge base:&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/products/edit-products-and-terms-in-the-line-items-editor" target="_blank" rel="noopener"&gt;https://knowledge.hubspot.com/products/edit-products-and-terms-in-the-line-items-editor&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Option that you can try -&lt;/P&gt;
&lt;P class="my-0"&gt;&lt;STRONG&gt;1. Manual Approach&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL class="marker:text-textOff list-disc"&gt;
&lt;LI&gt;
&lt;P class="my-0"&gt;Tag the relevant products with a custom property (e.g., Product Type = “Food &amp;amp; Beverage”)&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-0"&gt;Manually calculate the subtotal for those items&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-0"&gt;Calculate 20% of that amount&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-0"&gt;Enter this value as the price of your fee line item in the quote&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="my-0"&gt;&lt;STRONG&gt;2. Third-Party Solution&lt;/STRONG&gt;&lt;BR /&gt;For an automated workflow, consider a CPQ tool like Quote Hapily &lt;EM&gt;(not affiliated)&lt;/EM&gt;, which supports calculated pricing based on line item properties or product types, something HubSpot doesn’t natively offer.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://quote.hapily.com/guide/how-to-take-your-cpq-process-to-the-next-level-in-hubspot-sales-hub" target="_blank" rel="noopener"&gt;https://quote.hapily.com/guide/how-to-take-your-cpq-process-to-the-next-level-in-hubspot-sales-hub&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 11:45:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1178157#M1509</guid>
      <dc:creator>ArisudanTiwari</dc:creator>
      <dc:date>2025-07-18T11:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Product with calculated price</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1179614#M1522</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/967567"&gt;@ShaneStout&lt;/a&gt;&amp;nbsp;, that’s a really good use case, and you’re right that HubSpot doesn’t support dynamic pricing based on a subset of line items directly in the quote editor. One workaround you could explore is using &lt;STRONG&gt;LineNer App&lt;/STRONG&gt;,&amp;nbsp;&lt;A href="https://ecosystem.hubspot.com/marketplace/apps/add-line-item-to-deal-linener" target="_blank" rel="noopener"&gt;https://ecosystem.hubspot.com/marketplace/apps/add-line-item-to-deal-linener&lt;/A&gt;&amp;nbsp; a HubSpot-connected build in and fully integrated app that lets you automate line item management through workflows. For example, you could tag your food &amp;amp; beverage products, then build a workflow that:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Identifies those specific items on a deal&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Calculates 20% of their combined value (using custom properties or external logic)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Automatically adds a separate fee line item with that calculated value&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;It won’t override quote math directly, but it helps set up the deal with the correct logic &lt;EM&gt;before&lt;/EM&gt; the quote is created - which can save time and reduce manual steps. LineNer is free to test drive if you want to give it a try.&amp;nbsp; John, DM for details&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 20:11:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1179614#M1522</guid>
      <dc:creator>JohnMaret</dc:creator>
      <dc:date>2025-07-22T20:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Product with calculated price</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1180519#M1532</link>
      <description>&lt;P&gt;Thank you, Arisudan.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 13:50:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1180519#M1532</guid>
      <dc:creator>ShaneStout</dc:creator>
      <dc:date>2025-07-24T13:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Product with calculated price</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1211466#M1711</link>
      <description>&lt;P&gt;That’s a really good question. Dynamic pricing for specific product groups would definitely make quoting more accurate and flexible. I’ve had similar cases where fees needed to be calculated based on certain item types, and the best workaround was using workflows with tagged products to calculate the percentage before generating the quote. Hopefully HubSpot adds native support for this soon — it would save a lot of manual effort for teams managing detailed quotes.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 06:23:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1211466#M1711</guid>
      <dc:creator>charleencrist</dc:creator>
      <dc:date>2025-10-13T06:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Product with calculated price</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1211587#M1714</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1000953"&gt;@charleencrist&lt;/a&gt;&lt;/SPAN&gt; and welcome, we are so glad you are here!&lt;BR /&gt;&lt;BR /&gt;Thanks for your valuable feedback and contribution to the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;For new feature suggestions, I'd recommend first to search and check if this idea is already present &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas" target="_blank"&gt;on our Ideas Forum here&lt;/A&gt;. If you find a similar idea, give it an upvote and share your unique use case in the comments.&lt;BR /&gt;&lt;BR /&gt;If the idea doesn't exist already, please consider &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas" target="_blank"&gt;posting and creating a new Idea on our Ideas Forum here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Thank you for being part of the discussion and have a lovely day!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 12:05:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1211587#M1714</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-10-13T12:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Product with calculated price</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1260565#M1966</link>
      <description>&lt;P&gt;If you have data hub you can run this via workflow. Right now i am doing the same for a 20% service charge on applicable products. The workflow also automatically appends a tax rate to applicable products. Once an agent saves the line items, the workflow adds or updates the service charge line item.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 21:34:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1260565#M1966</guid>
      <dc:creator>AAltincatal</dc:creator>
      <dc:date>2026-03-19T21:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Product with calculated price</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1260572#M1967</link>
      <description>&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1021840"&gt;@AAltincatal&lt;/a&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks so much for sharing this!&lt;BR /&gt;&lt;BR /&gt;Would you be able to share any screenshots of your setup (without any sensitive data, of course)?&lt;BR /&gt;&lt;BR /&gt;Shane, Senior Community Moderator&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 22:14:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1260572#M1967</guid>
      <dc:creator>STierney</dc:creator>
      <dc:date>2026-03-19T22:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Product with calculated price</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1260822#M1968</link>
      <description>&lt;P&gt;The workflow set up is pretty simple. If you're not a developer, consider using AI to help craft the code. It's what i did.&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Create-or-update-service-charge-line-item-on-deals-HubSpot-03-20-2026_12_23_PM.png" style="width: 797px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/170176i0BF0FEF5B362A1F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Create-or-update-service-charge-line-item-on-deals-HubSpot-03-20-2026_12_23_PM.png" alt="Create-or-update-service-charge-line-item-on-deals-HubSpot-03-20-2026_12_23_PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;H2&gt;Custom Code Summary&lt;/H2&gt;&lt;P class=""&gt;The custom code performs two main functions:&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;1. Service Charge Management:&lt;/STRONG&gt; Searches for an existing automated service charge line item on the deal. If found, it updates the amount based on the calculated 20% service charge total. If not found, it creates a new service charge line item, applies Sales Tax to it, positions it at the bottom of the line item list, and returns the line item ID to be stored on the deal property for future updates.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;2. Tax Application:&lt;/STRONG&gt; Loops through all line items on the deal and applies Sales Tax to any line item marked as taxable (checking both the product property and line item property directly for standalone items). It skips the automated service charge product, items that already have the correct tax rate, and non-taxable items.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Key safeguard:&lt;/STRONG&gt; The code prevents duplicate service charges by searching for existing ones before creating new ones, and returns an error if an update fails rather than creating a duplicate.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;Quick Reference: Property Roles&lt;/H2&gt;&lt;DIV class=""&gt;Property Name Object Role/Purpose &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Service Charge Subtotal&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Deal&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Automatically sums the amounts of all line items where the product is marked as a service charge item. This is the base amount that the 20% service charge will be calculated from.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Service Charge Total&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Deal&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Calculates 20% of the Service Charge Subtotal. This calculated amount triggers the workflow and determines how much the service charge line item should be.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Service Charge Line Item ID&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Deal&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Stores the unique identifier of the automated service charge line item. This allows the workflow to find and update the same line item on future runs instead of creating duplicates.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;is_service_charge&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Marks which products should be included in the service charge calculation. When true, the product's line item amount gets rolled up into the Service Charge Subtotal.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;is_taxable&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Marks which products should have sales tax applied. The workflow checks this property to determine if a product-based line item needs tax.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;service_charge_amount&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Stores the percentage rate for service charges on products (e.g., 20 for 20%). Not currently used by the workflow but available for future flexibility if different products need different service charge rates.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;is_taxable&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Line Item&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;For standalone line items (not based on a product), this property can be set directly to mark them as taxable. The workflow checks this when no product association exists.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;is_service_charge&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Line Item&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;For standalone line items, this property can be set directly to mark them for inclusion in service charge calculations. The workflow checks this when no product association exists.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;hs_tax_rate_group_id&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Line Item&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Links the line item to a specific tax rate. The workflow automatically sets this to connect line items with the configured sales tax rate.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;hs_position_on_quote&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Line Item&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Controls the display order of line items in quotes and deals. The workflow sets this to 9999 for the service charge to force it to appear at the bottom of the list.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sales Tax&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Tax&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;The tax rate record that defines the percentage and details of sales tax. The workflow applies this tax rate to all taxable line items by linking them via hs_tax_rate_group_id.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;Wish hubspot made this easier for everyone but this works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2026 16:47:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Product-with-calculated-price/m-p/1260822#M1968</guid>
      <dc:creator>AAltincatal</dc:creator>
      <dc:date>2026-03-20T16:47:00Z</dc:date>
    </item>
  </channel>
</rss>

