Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Posts
    27
    Plugin Contributions
    1

    Default Dynamic Price Updater with href

    Hi I have DPU installed and this great mod works fine but what I wanted to do was display some attributes as links (href) so when you click on one it changes the price and DPU, so I thought the easiest way would be to just change the attribute drop down and make it hidden all using this code:

    <a href="javascript:void(0)" id="option1">£49.00</a>
    <a href="javascript:void(0)" id="option2">£89,99</a>
    <a href="javascript:void(0)" id="option3">£109.00</a>

    <script>
    $('#option1').click(function() {
    $('select[name=id[2]] option[value=1]').attr('selected', 'selected');
    });
    $('#option2').click(function() {
    $('select[name=id[2]] option[value=2]').attr('selected', 'selected');
    });
    $('#option3').click(function() {
    $('select[name=id[2]] option[value=3]').attr('selected', 'selected');
    });
    </script>

    id[2] is my attribute drop down box which changes fine but DPU does not update as I though it would any idea how I can get around this..

    Thanks in advance.
    Maxell

  2. #2
    Join Date
    Jul 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater with href

    I'm still having the exact same problem. Did you ever manage to find a workaround for this?

 

 

Similar Threads

  1. Dynamic Price Updater
    By Chrome in forum All Other Contributions/Addons
    Replies: 1534
    Last Post: 21 Nov 2019, 04:25 PM
  2. v151 Help with dynamic price updater
    By anderson6230 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Jul 2014, 08:52 AM
  3. v139h Dynamic Price Updater 3.0 Help!
    By Newbie 2011 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 12 Mar 2014, 06:46 AM
  4. Dynamic Price Updater Error
    By Inxie in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 26 Oct 2012, 06:19 PM
  5. Alternative to Dynamic Price Updater?
    By thebigkick in forum General Questions
    Replies: 0
    Last Post: 9 Jul 2012, 11:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR