
Ajax, css and HTML expert needed for one hour job
5223
$$
- Posted:
- Proposals: 1
- Remote
- #125677
- Archived
Description
Experience Level: Intermediate
Hi,
I'm trying to edit the basket of my website so that it displays the shipping options as radio buttons rather than a dropdown (select) menu.
I've managed to get it as far as getting the appropriate table inserted but it doesn't update the sub-total when you select a different delivery option.
Please see the attached which is the source-code of the basket (It was only live for a minute whilst I tested it - I reverted back to the drop down once I saw it didn't work).
I imagine a change in this javascript file is needed:
https://www.ukdigitalcameras.co.uk/resources/_js/basket.js
And if it's of any relevance, here is the php code that creates the drop down as it is now:
{foreach from = $shipping_options item=info}
{$info.name} ({$info.price})
{/foreach}
And this is the code I created in php to make it show the delivery options with radio buttons rather than the dropdown. It does everything it's supposed to apart from update the sub-total.
Delivered by:
Price (Service)
{foreach from = $shipping_options item=info}
{$info.shipping_estimate}
{$info.price} ({$info.name})
{/foreach}
Thanks,
Andrew
I'm trying to edit the basket of my website so that it displays the shipping options as radio buttons rather than a dropdown (select) menu.
I've managed to get it as far as getting the appropriate table inserted but it doesn't update the sub-total when you select a different delivery option.
Please see the attached which is the source-code of the basket (It was only live for a minute whilst I tested it - I reverted back to the drop down once I saw it didn't work).
I imagine a change in this javascript file is needed:
https://www.ukdigitalcameras.co.uk/resources/_js/basket.js
And if it's of any relevance, here is the php code that creates the drop down as it is now:
{foreach from = $shipping_options item=info}
{$info.name} ({$info.price})
{/foreach}
And this is the code I created in php to make it show the delivery options with radio buttons rather than the dropdown. It does everything it's supposed to apart from update the sub-total.
Delivered by:
Price (Service)
{foreach from = $shipping_options item=info}
{$info.shipping_estimate}
{$info.price} ({$info.name})
{/foreach}
Thanks,
Andrew
Andrew S.
99% (65)Projects Completed
80
Freelancers worked with
77
Projects awarded
43%
Last project
25 Jun 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies