[Skip to main content](#vessel-content)

#  Profile for pdavila

##

[![pdavila's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/83848-pdavila "View pdavila's Profile")

**[ Offline](/forum/user/83848-pdavila)**

- **User Type:** User

- **Register Date:** 13 Jan 2026
- **Last login:** 3 days 20 hours ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 16:14

- **Posts:** 6
- **Profile views:** 68
- **Thank you received:** 2

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  pdavila's recent posts  (6 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428) | [Display each cart item field as a separate line in the cart summary table](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi HikaShop team,  We are customizing the checkout cart template (show&#95;block&#95;cart.php) to display each product option and cart item field as a separate line in the cart summary table, with individual unit price, quantity, and total columns.  While implementing this, we found that cart item fields (stored in $cart-&gt;cart&#95;products&#91;$i&#93;-&gt;field&#95;namekey) lack some metadata that would be essential for correct display:  1. No tax rate available for item fields The field value stored in the cart item is the price excluding tax (e.g. 42.975), but there is no associated tax rate or tax category accessible from the template. We had to hardcode × 1.21 (21% VAT) because it happened to match the configured tax for that service. If a field uses a different tax rate (10%, 4%, etc.), the displayed price with tax will be wrong.  Suggested improvement: Include the tax rate or computed price&#95;value&#95;with&#95;tax alongside the raw field value in the cart item data, similar to how prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax is available for product options.  2. No indication of whether a field price scales with quantity Some item fields represent a per-unit cost (should multiply by cart quantity), while others represent a flat one-time service fee (should not multiply). Currently there is no way to distinguish these cases from the template — we have to guess based on business logic.  Suggested improvement: Add a metadata flag to field definitions (e.g. field&#95;multiply&#95;by&#95;quantity: true/false) so templates can handle both cases correctly without hardcoding assumptions.  3. prices&#91;0&#93;-&gt;unit&#95;price in option elements equals prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax When displaying grouped options (group&#95;options = 1), the unit&#95;price nested object inside prices&#91;0&#93; of an option element contains the same value as price&#95;value&#95;with&#95;tax (i.e. total price, not unit price). This makes it impossible to retrieve the true per-unit price for display without manually dividing by cart&#95;product&#95;quantity.  Suggested improvement: Ensure prices&#91;0&#93;-&gt;unit&#95;price-&gt;price&#95;value&#95;with&#95;tax consistently reflects the price for one unit, regardless of cart quantity.  These improvements would allow template developers to build accurate per-line breakdowns without relying on hardcoded business logic or reverse-engineering prices from totals.  Thank you for considering these improvements.")         Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 8 months 2 weeks ago, by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")       [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") 7 months 3 weeks ago     by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile") | Replies:11  Views:650 | [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile")      7 months 3 weeks ago |
| [](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371088) | [Display each cart item field as a separate line in the cart summary table](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371088 "Hi HikaShop team,  We are customizing the checkout cart template (show&#95;block&#95;cart.php) to display each product option and cart item field as a separate line in the cart summary table, with individual unit price, quantity, and total columns.  While implementing this, we found that cart item fields (stored in $cart-&gt;cart&#95;products&#91;$i&#93;-&gt;field&#95;namekey) lack some metadata that would be essential for correct display:  1. No tax rate available for item fields The field value stored in the cart item is the price excluding tax (e.g. 42.975), but there is no associated tax rate or tax category accessible from the template. We had to hardcode × 1.21 (21% VAT) because it happened to match the configured tax for that service. If a field uses a different tax rate (10%, 4%, etc.), the displayed price with tax will be wrong.  Suggested improvement: Include the tax rate or computed price&#95;value&#95;with&#95;tax alongside the raw field value in the cart item data, similar to how prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax is available for product options.  2. No indication of whether a field price scales with quantity Some item fields represent a per-unit cost (should multiply by cart quantity), while others represent a flat one-time service fee (should not multiply). Currently there is no way to distinguish these cases from the template — we have to guess based on business logic.  Suggested improvement: Add a metadata flag to field definitions (e.g. field&#95;multiply&#95;by&#95;quantity: true/false) so templates can handle both cases correctly without hardcoding assumptions.  3. prices&#91;0&#93;-&gt;unit&#95;price in option elements equals prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax When displaying grouped options (group&#95;options = 1), the unit&#95;price nested object inside prices&#91;0&#93; of an option element contains the same value as price&#95;value&#95;with&#95;tax (i.e. total price, not unit price). This makes it impossible to retrieve the true per-unit price for display without manually dividing by cart&#95;product&#95;quantity.  Suggested improvement: Ensure prices&#91;0&#93;-&gt;unit&#95;price-&gt;price&#95;value&#95;with&#95;tax consistently reflects the price for one unit, regardless of cart quantity.  These improvements would allow template developers to build accurate per-line breakdowns without relying on hardcoded business logic or reverse-engineering prices from totals.  Thank you for considering these improvements.")         Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 8 months 2 weeks ago, by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")       [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") 7 months 3 weeks ago     by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile") | Replies:11  Views:650 | [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile")      7 months 3 weeks ago |
| [](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#370998) | [Display each cart item field as a separate line in the cart summary table](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#370998 "Hi HikaShop team,  We are customizing the checkout cart template (show&#95;block&#95;cart.php) to display each product option and cart item field as a separate line in the cart summary table, with individual unit price, quantity, and total columns.  While implementing this, we found that cart item fields (stored in $cart-&gt;cart&#95;products&#91;$i&#93;-&gt;field&#95;namekey) lack some metadata that would be essential for correct display:  1. No tax rate available for item fields The field value stored in the cart item is the price excluding tax (e.g. 42.975), but there is no associated tax rate or tax category accessible from the template. We had to hardcode × 1.21 (21% VAT) because it happened to match the configured tax for that service. If a field uses a different tax rate (10%, 4%, etc.), the displayed price with tax will be wrong.  Suggested improvement: Include the tax rate or computed price&#95;value&#95;with&#95;tax alongside the raw field value in the cart item data, similar to how prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax is available for product options.  2. No indication of whether a field price scales with quantity Some item fields represent a per-unit cost (should multiply by cart quantity), while others represent a flat one-time service fee (should not multiply). Currently there is no way to distinguish these cases from the template — we have to guess based on business logic.  Suggested improvement: Add a metadata flag to field definitions (e.g. field&#95;multiply&#95;by&#95;quantity: true/false) so templates can handle both cases correctly without hardcoding assumptions.  3. prices&#91;0&#93;-&gt;unit&#95;price in option elements equals prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax When displaying grouped options (group&#95;options = 1), the unit&#95;price nested object inside prices&#91;0&#93; of an option element contains the same value as price&#95;value&#95;with&#95;tax (i.e. total price, not unit price). This makes it impossible to retrieve the true per-unit price for display without manually dividing by cart&#95;product&#95;quantity.  Suggested improvement: Ensure prices&#91;0&#93;-&gt;unit&#95;price-&gt;price&#95;value&#95;with&#95;tax consistently reflects the price for one unit, regardless of cart quantity.  These improvements would allow template developers to build accurate per-line breakdowns without relying on hardcoded business logic or reverse-engineering prices from totals.  Thank you for considering these improvements.")         Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 8 months 2 weeks ago, by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")       [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") 7 months 3 weeks ago     by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile") | Replies:11  Views:650 | [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile")      7 months 3 weeks ago |
| [](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#370969) | [Display each cart item field as a separate line in the cart summary table](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#370969 "Hi HikaShop team,  We are customizing the checkout cart template (show&#95;block&#95;cart.php) to display each product option and cart item field as a separate line in the cart summary table, with individual unit price, quantity, and total columns.  While implementing this, we found that cart item fields (stored in $cart-&gt;cart&#95;products&#91;$i&#93;-&gt;field&#95;namekey) lack some metadata that would be essential for correct display:  1. No tax rate available for item fields The field value stored in the cart item is the price excluding tax (e.g. 42.975), but there is no associated tax rate or tax category accessible from the template. We had to hardcode × 1.21 (21% VAT) because it happened to match the configured tax for that service. If a field uses a different tax rate (10%, 4%, etc.), the displayed price with tax will be wrong.  Suggested improvement: Include the tax rate or computed price&#95;value&#95;with&#95;tax alongside the raw field value in the cart item data, similar to how prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax is available for product options.  2. No indication of whether a field price scales with quantity Some item fields represent a per-unit cost (should multiply by cart quantity), while others represent a flat one-time service fee (should not multiply). Currently there is no way to distinguish these cases from the template — we have to guess based on business logic.  Suggested improvement: Add a metadata flag to field definitions (e.g. field&#95;multiply&#95;by&#95;quantity: true/false) so templates can handle both cases correctly without hardcoding assumptions.  3. prices&#91;0&#93;-&gt;unit&#95;price in option elements equals prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax When displaying grouped options (group&#95;options = 1), the unit&#95;price nested object inside prices&#91;0&#93; of an option element contains the same value as price&#95;value&#95;with&#95;tax (i.e. total price, not unit price). This makes it impossible to retrieve the true per-unit price for display without manually dividing by cart&#95;product&#95;quantity.  Suggested improvement: Ensure prices&#91;0&#93;-&gt;unit&#95;price-&gt;price&#95;value&#95;with&#95;tax consistently reflects the price for one unit, regardless of cart quantity.  These improvements would allow template developers to build accurate per-line breakdowns without relying on hardcoded business logic or reverse-engineering prices from totals.  Thank you for considering these improvements.")         Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 8 months 2 weeks ago, by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")       [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") 7 months 3 weeks ago     by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile") | Replies:11  Views:650 | [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile")      7 months 3 weeks ago |
| [](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#370947) | [Display each cart item field as a separate line in the cart summary table](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#370947 "Hi HikaShop team,  We are customizing the checkout cart template (show&#95;block&#95;cart.php) to display each product option and cart item field as a separate line in the cart summary table, with individual unit price, quantity, and total columns.  While implementing this, we found that cart item fields (stored in $cart-&gt;cart&#95;products&#91;$i&#93;-&gt;field&#95;namekey) lack some metadata that would be essential for correct display:  1. No tax rate available for item fields The field value stored in the cart item is the price excluding tax (e.g. 42.975), but there is no associated tax rate or tax category accessible from the template. We had to hardcode × 1.21 (21% VAT) because it happened to match the configured tax for that service. If a field uses a different tax rate (10%, 4%, etc.), the displayed price with tax will be wrong.  Suggested improvement: Include the tax rate or computed price&#95;value&#95;with&#95;tax alongside the raw field value in the cart item data, similar to how prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax is available for product options.  2. No indication of whether a field price scales with quantity Some item fields represent a per-unit cost (should multiply by cart quantity), while others represent a flat one-time service fee (should not multiply). Currently there is no way to distinguish these cases from the template — we have to guess based on business logic.  Suggested improvement: Add a metadata flag to field definitions (e.g. field&#95;multiply&#95;by&#95;quantity: true/false) so templates can handle both cases correctly without hardcoding assumptions.  3. prices&#91;0&#93;-&gt;unit&#95;price in option elements equals prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax When displaying grouped options (group&#95;options = 1), the unit&#95;price nested object inside prices&#91;0&#93; of an option element contains the same value as price&#95;value&#95;with&#95;tax (i.e. total price, not unit price). This makes it impossible to retrieve the true per-unit price for display without manually dividing by cart&#95;product&#95;quantity.  Suggested improvement: Ensure prices&#91;0&#93;-&gt;unit&#95;price-&gt;price&#95;value&#95;with&#95;tax consistently reflects the price for one unit, regardless of cart quantity.  These improvements would allow template developers to build accurate per-line breakdowns without relying on hardcoded business logic or reverse-engineering prices from totals.  Thank you for considering these improvements.")         Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 8 months 2 weeks ago, by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")       [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") 7 months 3 weeks ago     by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile") | Replies:11  Views:650 | [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile")      7 months 3 weeks ago |
| [](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#370849) | [Display each cart item field as a separate line in the cart summary table](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#370849 "Hi HikaShop team,  We are customizing the checkout cart template (show&#95;block&#95;cart.php) to display each product option and cart item field as a separate line in the cart summary table, with individual unit price, quantity, and total columns.  While implementing this, we found that cart item fields (stored in $cart-&gt;cart&#95;products&#91;$i&#93;-&gt;field&#95;namekey) lack some metadata that would be essential for correct display:  1. No tax rate available for item fields The field value stored in the cart item is the price excluding tax (e.g. 42.975), but there is no associated tax rate or tax category accessible from the template. We had to hardcode × 1.21 (21% VAT) because it happened to match the configured tax for that service. If a field uses a different tax rate (10%, 4%, etc.), the displayed price with tax will be wrong.  Suggested improvement: Include the tax rate or computed price&#95;value&#95;with&#95;tax alongside the raw field value in the cart item data, similar to how prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax is available for product options.  2. No indication of whether a field price scales with quantity Some item fields represent a per-unit cost (should multiply by cart quantity), while others represent a flat one-time service fee (should not multiply). Currently there is no way to distinguish these cases from the template — we have to guess based on business logic.  Suggested improvement: Add a metadata flag to field definitions (e.g. field&#95;multiply&#95;by&#95;quantity: true/false) so templates can handle both cases correctly without hardcoding assumptions.  3. prices&#91;0&#93;-&gt;unit&#95;price in option elements equals prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax When displaying grouped options (group&#95;options = 1), the unit&#95;price nested object inside prices&#91;0&#93; of an option element contains the same value as price&#95;value&#95;with&#95;tax (i.e. total price, not unit price). This makes it impossible to retrieve the true per-unit price for display without manually dividing by cart&#95;product&#95;quantity.  Suggested improvement: Ensure prices&#91;0&#93;-&gt;unit&#95;price-&gt;price&#95;value&#95;with&#95;tax consistently reflects the price for one unit, regardless of cart quantity.  These improvements would allow template developers to build accurate per-line breakdowns without relying on hardcoded business logic or reverse-engineering prices from totals.  Thank you for considering these improvements.")         Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 8 months 2 weeks ago, by [pabloarias](/forum/user/57991-pabloarias "View pabloarias's Profile")       [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") 7 months 3 weeks ago     by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile") | Replies:11  Views:650 | [Last Post](/forum/27-checkout/910183-display-each-cart-item-field-as-a-separate-line-in-the-cart-summary-table#371428 "Hi,  Thank you for your support.  It's currently resolved.  Best regards") by [pdavila](/forum/user/83848-pdavila "View pdavila's Profile")      7 months 3 weeks ago |

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.072 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
