Look to addon option once only per "Add to cart"

I’m having issues with the addon price adding multiple times for example - https://ropecentral.com.au/products/armor-prus-performance-line-by-the-metre?variant=46529238761793

The current behaviour of apps:

The user adds 4 qty(4 metres of rope) and then selects how the end of the rope is treated (ie Heat shrink for $5).
It adds to the cart 4 qty X $5 because it thinks that it is 4 items.

Expected behaviour user adds 4 qty(4 metres of rope) with the addon of Heat shrink for $5.
It adds to the cart 4 qty and $5 once because the whole item is a single item.

Hi leehaverford

Are you using an app to do this as this can be done with custom code in the theme.

I attempted it through an app but am willing to use whatever option is better in the long term as this won’t change much after the page is set up. How can it be done without an app in custom code? (I’m comfortable with HTML,CSS,JS and learning liquid at the moment)

Side question - Do you know of any Shopify development courses worth going through?

Hi @leehaverford

We can code this feature in the theme let me know if interested.

If yes, request you to connect over the WhatsApp as we have few more questions.