Page 1 of 2 12 LastLast
Results 1 to 10 of 1684

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    27
    Plugin Contributions
    1

    Default DPU Update 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
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Well, i've installed the files ok,
    read through the readme,
    and.....nothing
    am i missing something?

    Cookiie

  3. #3
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater


  4. #4
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Anyone there?

  5. #5
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by Cookiepus View Post
    Well, i've installed the files ok,
    read through the readme,
    and.....nothing
    am i missing something?

    Cookiie
    hey cookie looks like you got it working. What was the solution?

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

    Default Re: DPU Update with href

    Quote Originally Posted by maxell6230 View Post
    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

    I am doing something very similar to this and have been pulling my hair out for the past fortnight trying to solve the update problem! I thought a simple refresh on the radio button would solve it but it doesn't seem to work!

    If anyone has any idea on how to solve this that would be fantastic!

    Josh

  7. #7
    Join Date
    Aug 2009
    Location
    Carmi, IL
    Posts
    354
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Has anyone found the solution to this error:

    PHP Warning: Variable passed to each() is not an array or object in /home/xxxxxx/public_html/includes/classes/dynamic_price_updater.php on line 198

    Line 198 reads like this:

    while (list($option, $value) = each($this->_shoppingCart->contents[$this->_post['products_id']]['attributes'])) {

    Any suggestions or a fix would greatly be appreciated.

    Thanks
    Zen Cart user all the way for online stores!

  8. #8
    Join Date
    Jul 2009
    Posts
    122
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by perkiekat View Post
    Has anyone found the solution to this error:

    PHP Warning: Variable passed to each() is not an array or object in /home/xxxxxx/public_html/includes/classes/dynamic_price_updater.php on line 198

    Line 198 reads like this:

    while (list($option, $value) = each($this->_shoppingCart->contents[$this->_post['products_id']]['attributes'])) {

    Any suggestions or a fix would greatly be appreciated.

    Thanks
    I mentioned this same error a few months ago. Dan said that he created a fix but has since lost the files and unfortunately I wasn't made aware of the fix files otherwise I would have a copy of them to share with you.

    Hopefully he will be better soon and will be able to continue his work on this fantastic mod and these issues will be resolved.

    I must say that I am very surprised at the small amount of people who seem to have this same issue. Or perhaps they are not checking their error logs so they are unaware of it?

    Either way I hope Dan gets better soon and is able to remember what he did so this mod can be fixed.

  9. #9
    Join Date
    Dec 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    A just spent 30 minutes researching this thread and I think I might be missing the forest for the trees. Could someone quickly tell me how to set up price tiers for product quantities. I've installed this contribute, but I can't find anywhere to set this up. Thanks... I'm obviously missing something obvious...
    If everybody had money, there would still be the poorest man in the word; If everybody had love, it wouldn't matter.

  10. #10
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by CybaGirl View Post
    I mentioned this same error a few months ago. Dan said that he created a fix but has since lost the files and unfortunately I wasn't made aware of the fix files otherwise I would have a copy of them to share with you.

    Hopefully he will be better soon and will be able to continue his work on this fantastic mod and these issues will be resolved.

    I must say that I am very surprised at the small amount of people who seem to have this same issue. Or perhaps they are not checking their error logs so they are unaware of it?

    Either way I hope Dan gets better soon and is able to remember what he did so this mod can be fixed.
    Hi all,
    first: hope Dan is well, else: my best whishes ;-)
    second: anyone menaged to find out a solution for the mentioned problem? I tried some changes but without success...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Help with dynamic price updater
    By anderson6230 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Jul 2014, 08:52 AM
  2. 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
  3. Dynamic Price Updater Error
    By Inxie in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 26 Oct 2012, 06:19 PM
  4. Alternative to Dynamic Price Updater?
    By thebigkick in forum General Questions
    Replies: 0
    Last Post: 9 Jul 2012, 11:41 PM
  5. Dynamic Price Updater with href
    By maxell6230 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Mar 2012, 12:34 AM

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