Page 96 of 101 FirstFirst ... 46869495969798 ... LastLast
Results 951 to 960 of 1010
  1. #951
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,478
    Plugin Contributions
    121

    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 ...
    ...

    }
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  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
    The Netherlands
    Posts
    902
    Plugin Contributions
    6

    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
    My site: Zen4All
    Supported Modules: Google Mapinator - Dutch language pack - Cookie Control
    Nothing is impossible, as long as you're willing to try, make mistakes, and learn.

  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:

 

 
Page 96 of 101 FirstFirst ... 46869495969798 ... LastLast

Similar Threads

  1. Dynamic Option Price Updating?
    By Akumaownz in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Jul 2008, 09:13 PM
  2. Price Factor - adding product price
    By alibeoley in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 23 Sep 2007, 11:45 AM
  3. Price banding
    By narian in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Jun 2007, 06:00 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
  •