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

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Location
    France
    Posts
    291
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    I can not follow you, but a version that works as it should not be there? with the editors who are online you see this now /ajax.php?act=DPU_Ajax&method=dpu_update&products_id=154&cPath=3&number_of_upload s=0& a little better than before but not enough for those who have installed the url rewrite, regarding the php error public_html / includes / classes / dynamic_price_updater.php on line 150 I always did not understand how to fix the error despite updated files that would be easier for everyone to upload the correct version of the forum
    Giovanni,
    Zen Cart V2.1

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Dynamic Price Updater

    Quote Originally Posted by diamond1 View Post
    I can not follow you, but a version that works as it should not be there? with the editors who are online you see this now /ajax.php?act=DPU_Ajax&method=dpu_update&products_id=154&cPath=3&number_of_upload s=0& a little better than before but not enough for those who have installed the url rewrite, regarding the php error public_html / includes / classes / dynamic_price_updater.php on line 150 I always did not understand how to fix the error despite updated files that would be easier for everyone to upload the correct version of the forum
    Although English is a second language (or maybe third, fourth or fifth), no one is a mind-reader or at least I am not one. Please explain what can not be followed, what is not understood, etc...

    As to the line 150 issue. If you follow any of the links that go to github, you should see code that has been modified. Red, means that something about that line has been "deleted" or is the "old" line, green means something in that line has been "added" or represents how the new line should look.

    If you need to specifically know what line 150 should now look like, then please ask.

    As to the software as available from the downloads section of this site. Well, please also understand the nature of this public forum. Volunteers have offered code. That code is offered to the forum for yet other volunteers to review the code by a process and make it available to others at no cost. Sometimes in the overall process an error is found and a correction is made. In this case the correction was posted to the forum and to a live location that is not controlled or maintained by core ZC volunteers. That modified version is available for download which would provide a package very much like what is provided through the ZC forum.

    As a user of the software, it is equally important to review the forum for similar issues and to either ask how to apply the fix or find someone to do so as it is for someone to post a central fix to an issue. Right now I have at least three major changes to this software to implement which will improve the overall operation and flexibility of the software and when issuing those changes the minor patches identified to date will be incorporated.


    Again, let me just say that the github location: https://github.com/mc12345678/Dynamic_Price_Updater allows download of the code as a zip file. This would allow applying the patch for linme 150 of the class file.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Dynamic Price Updater

    Quote Originally Posted by diamond1 View Post
    I can not follow you, but a version that works as it should not be there? with the editors who are online you see this now /ajax.php?act=DPU_Ajax&method=dpu_update&products_id=154&cPath=3&number_of_upload s=0& a little better than before but not enough for those who have installed the url rewrite, regarding the php error public_html / includes / classes / dynamic_price_updater.php on line 150 I always did not understand how to fix the error despite updated files that would be easier for everyone to upload the correct version of the forum
    Not sure about which URL rewriter you are speaking of or what is specifically desired to be seen. If they wish to see more information or specifically wish to see the full url, then it could be possible to incorporate a result from zen_href_link (properly sanitized) into the parameters to be displayed. I found that with CEON Uris installed that the result was similar to above. That result is or should be enough to determine the product being viewed.

    Locally I have incorporated a jscript_jquery.min.dpu.php template file that will load jquery (currently set to load 1.12.4) if jquery is not yet already loaded. Github will be updated to reflect that additional file plus in time the modifications to the instructions that are needed to cover the things recently identified.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Dynamic Price Updater

    Submitted v3.0.8 to the ZC Forum to correct a number of issues discussed above and listed below:

    3.0.8, What changed:
    - Added a switch and code to support deactivating the use of currency symbols
    in the sidebox, similar to the display of the base product price.
    - Corrected the use of the notifier to support using an observer to provide
    a prefix for displayed prices.
    - Removed the specific comparison of an attribute being a checkbox for when
    processing attributes to identify the lowest price of the product. Inclusion
    of the attribute into the base price is controlled through the attributes
    controller and should not be just blindly omitted within this code.
    - Updated the installer including to incorporate the version checker provided
    in the current alpha release of ZC 1.5.6 and to use that code instead of the built in code and
    instead of pulling the recent file into the distribution of the
    plugin (and then have multiple such versions out and about.)
    - Updated the installer to write a debug log if the installer files have been
    incorrectly placed in the catalog side of the installer.
    - Updated the installer to expect an admin to be logged in, and the page not currently being
    the login page or as a result of selecting the logoff option.
    - Updated code for initial expected changes for PHP 7.2.
    - Corrected the encoding (BOM) of the file that provides the ajax processing.
    - Corrected issue with price being displayed as zero when it should be otherwise displayed.
    - Added the general page information (though not with zen_href_link) and support understanding what
    the customer is looking at at the point of the call.
    - Updated the jscript code for the product_music to match the product_info code.
    - Added template jscript code to attempt to load jquery if it has not previously included or
    loaded to load jquery 1.12.4
    Once reviewed and accepted it should be available for download from ZC here. Otherwise this version can be viewed on Github here. With the changes between the ZC 3.0.7 and ZC 3.0.8 release identified here.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Dynamic Price Updater

    Quote Originally Posted by mc12345678 View Post
    Submitted v3.0.8 to the ZC Forum to correct a number of issues discussed above and listed below:



    Once reviewed and accepted it should be available for download from ZC here. Otherwise this version can be viewed on Github here. With the changes between the ZC 3.0.7 and ZC 3.0.8 release identified here.
    Version 3.0.8 has been posted to the ZC website here.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    Hi there.
    Just installed the latest version on a test site and got an error
    [10-Oct-2017 10:21:00 America/Denver] PHP Parse error: syntax error, unexpected '(float)' (double) (T_DOUBLE_CAST) in /home/koolwedd/public_html/bvostoretemp/includes/classes/dynamic_price_updater.php on line 200

  7. #7
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Dynamic Price Updater

    Quote Originally Posted by mvstudio View Post
    Hi there.
    Just installed the latest version on a test site and got an error
    [10-Oct-2017 10:21:00 America/Denver] PHP Parse error: syntax error, unexpected '(float)' (double) (T_DOUBLE_CAST) in /home/koolwedd/public_html/bvostoretemp/includes/classes/dynamic_price_updater.php on line 200
    Thanks for the report. Could you please try applying the change to that file as indicated in the following commit difference: https://github.com/mc12345678/Dynami...e36f1c1e18928?
    I'd like to package that better, but best I could do from my phone when I saw your message.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    Thank you for that.
    I made the changes and now I get this error

    [10-Oct-2017 16:07:36 America/Denver] PHP Fatal error: Can't use function return value in write context in /home/koolwedd/public_html/bvostoretemp/includes/modules/pages/product_info/jscript_dynamic_price_updater.php on line 125
    Last edited by mvstudio; 10 Oct 2017 at 11:09 PM.

  9. #9
    Join Date
    Dec 2006
    Location
    near Atlanta Georgia
    Posts
    216
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Hi, I am using Ultimate Urls 2.215 and also use DPU (Dynamic Price Updater). I noticed that on my Ultimate URLs html pages that the DPU price update did not work, the ajax gif just spins constantly. I checked corresponding php product page and it works. This is happening on all html pages generated by Ultimate URLs. I am running Zen v1.5.4 and the latest version of DPU 3.2.0.

    I posted this to the Ultimate Urls thread as well.

    Any help is greatly appreciated.
    Thanks,
    John
    Best,
    Goldbuckle

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: Dynamic Price Updater

    Ah, the two biggest non-joys of Zen Cart.

    Store-bought Templates and "Fixed" URLs.

    At the risk of starting the flames burning, there is no proof that a "fixed" URL does any better of a job in site ranking that the good old "/index.php?main_page=product_info&cPath=31&products_id=706"

    It's more common than not that any change after URLs are "fixed" causes something to break.

    It may be a good time to move up to 1.5.5f and the newer mods. https://www.zen-cart.com/entry.php?3...d-of-upgrading
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 
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