How to add the price value next to the UPS Ground option in the Delivery option step during check out page by using extension.

Adding price value next to UPS ground option in the delivery option step during checkout page.

in .tpl file

{{#each shippingMethods}}
		<a data-action="select-delivery-option-radio"
			class="order-wizard-shipmethod-module-option {{#if isActive}}order-wizard-shipmethod-module-option-active{{/if}}"
			data-value="{{internalid}}" id="Deliver-Method-ID">
			<input type="radio" name="delivery-options" data-action="edit-module"
				class="order-wizard-shipmethod-module-checkbox {{#if isActive}}order-wizard-shipmethod-module-active {{else}}order-wizard-shipmethod-module-inactive{{/if}}"
				{{#if isActive}}checked{{/if}} value="{{internalid}}" id="delivery-options-{{internalid}}" />
			<span class="order-wizard-shipmethod-module-option-name">{{name}}
				<span class="order-wizard-shipmethod-module-option-price">{{rate_formatted}}</span>
			</span>
		</a>
		{{/each}}

Leave a comment

Your email address will not be published. Required fields are marked *