webdna / commerce-bulk-pricing

Other
2 stars 2 forks source link

Feature Request: Display Column Heading and Qty values on front end #13

Open robzor opened 2 years ago

robzor commented 2 years ago

Hi there,

It would be great if there was a front end field to display the 'Column Heading' table cell values on the front end.

Also, While I am currently able to interrogate the field to get the Qty value, it would be great to be able to grab this without having to result to:{% for qty, price in bulkPrice if qty != 'iso' %}

Desired output:

{% for priceRow in bulkPrices %}
  {{ priceRow.heading }} : {{ priceRow.price }}
  <span class="hidden">{{ priceRow.qty }}</span>
{% endfor %}

10-19: £50.00 20-29: £45.00 30+: £40

I would be happy to pay for this development based on how long you think it would take, and if you are interested in doing it!

Thanks,

Rob