Page 96 of 169 FirstFirst ... 46869495969798106146 ... LastLast
Results 951 to 960 of 1681
  1. #951
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    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
    Around this entire block (and the reset before it) check to see if this piece of data truly is an array, i.e.


    if (is_array($this->_shoppingCart->contents[$this->_post['products_id']]['attributes'])) {
    reset ...
    while ...
    ...

    }
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #952
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Installed this. Looks promising although I'm getting a "Status Returned = Not Found" error on every product page.

    Anyone know how to fix this?

    thanks

  3. #953
    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?

  4. #954
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by bigstore View Post
    Installed this. Looks promising although I'm getting a "Status Returned = Not Found" error on every product page.

    Anyone know how to fix this?

    thanks
    ok I figured it out.

    i neglected to upload dpu_ajax.php to the server.

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

    Default Re: Dynamic Price Updater

    I've detected another issue. It seems to be displaying the wrong price.

    I have Ultimate Cross Sell installed as well and it looks like it is displaying the price of the Related Products.

  6. #956
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Dynamic Price Updater

    Quote Originally Posted by bigstore View Post
    I've detected another issue. It seems to be displaying the wrong price.

    I have Ultimate Cross Sell installed as well and it looks like it is displaying the price of the Related Products.
    Until now I was unable to figure out what was causing this, but I have have same problem

  7. #957
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by Design75 View Post
    Until now I was unable to figure out what was causing this, but I have have same problem
    I've looked everywhere for a solution to this and haven't found one. I'm guessing there is a javascript issue somewhere.

  8. #958
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Price Updater

    Quote Originally Posted by Chrome View Post
    I've updated the updater to handle previously set attributes (e.g. a customer clicking from their shopping cart)... As before the updater doesn't care where its values come from; it just 'reads' the page (sorta)
    I'm thinking this is the reason it doesn't play nice with the Ultimate Cross Sell plugin. For myself, at least, DPU keeps wanting to use the price of the very last listed item within my Ultimate Cross Sell plugin as the products price. The delay is about 2 seconds after the page load.

    Is there a way to get DPU to target values within a certain DIV?

    cheers

  9. #959
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    fired up firebug and tried to debug. here is a screeny of a post and response from the ajax.

    Post


    Response

  10. #960
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    So here is what it looks like:

 

 

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

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