Page 35 of 169 FirstFirst ... 2533343536374585135 ... LastLast
Results 341 to 350 of 1681
  1. #341
    Join Date
    Jul 2005
    Location
    Wales, UK
    Posts
    382
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    Hi

    stevenlee: Are you talking about priced by attributes? I was under the impression that the Updater worked for that... If not please enlighten me and it can go in my ever-increasing list for V1 (proper)

    spiritcraft: Ah, yes, the old 'headers sent' error... The blank lines at the end of the file may have been causing the session headers to fail... A trick for anyone experiencing a blank page is to add the following line to index.php (before the require for application_top.php)

    Code:
    define('STRICT_ERROR_REPORTING', true);
    This should tell you the error that is occurring

    HTH

    Dan

  2. #342
    Join Date
    Jul 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by devlyn View Post
    I had a friend look at the code (this is for V. 98) and he came up with this, which is working and eliminated a few bugs I was having.

    I hope it helps others. :)
    I might just be stupid but here it goes...

    This looks and works great for me in IE.. but in Firefox I get the price showing up twice covering over the product description with one.. I'm using Cherry Zen template...

    Any ideas??

    www.delmarvatrophy.com

    Tom

  3. #343
    Join Date
    Jul 2005
    Location
    Wales, UK
    Posts
    382
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    Hi

    You might want to try changing this line:

    Code:
    var _secondPrice = 'cartAdd';
    to

    Code:
    var _secondPrice = false;
    That should stop the erroneously located price display from appearing

    Dan

  4. #344
    Join Date
    Jul 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by Chrome View Post
    Hi

    You might want to try changing this line:

    Code:
    var _secondPrice = 'cartAdd';
    to

    Code:
    var _secondPrice = false;
    That should stop the erroneously located price display from appearing

    Dan
    You my friend are a genius.. worked flawlessly.. thank you!

  5. #345
    Join Date
    Jul 2005
    Location
    Wales, UK
    Posts
    382
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    Happy to help

    Dan

  6. #346
    Join Date
    Jul 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Hello-

    I uploaded the code to my website but the price updater seems to be working quite sporadically - I had it working once or twice and then it stopped working. Any ideas why it could be messing up?

    http://redeyecomputers.com/store/ind...&products_id=1

    Thanks

  7. #347
    Join Date
    Jul 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    I got the price updater to work; however, there is an issue.

    when you select an item off the default it correctly subtracts the correct sum of money, however if you switch back to the default selected item the price does not adjust back up accordingly.

    http://redeyecomputers.com/safe/inde...&products_id=1

  8. #348
    Join Date
    Mar 2009
    Posts
    78
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Hi,

    Thanks so much for the enormous amount of time you've spent on this. I would love to use it, but I'm having a tough time getting it to work for some reason. I've gone back and forth over this forum, and tried a few things, but to no avail.

    Here is a link to the site I'm trying to make it work on. http://blackoliveeastnursery.net/zen...oducts_id=2231

    I haven't added attributes to other pages, so I know it won't work on them, but I thought I would try it with this page first.

    I have my variables set as listed below:

    thank you if you are able to help.

    var objPrice, origPrice;
    var defaultCurrencyLeft, defaultCurrencyRight;
    defaultCurrencyLeft = defaultCurrencyRight = '';
    var quantity = false; // do not alter this
    var showQuantity = true; // show the quantity the customer has requested in the main price header
    var showQuantitySB = true; // show the quantity the customer has requested in the sidebox
    var prArr = nameArr = new Array(); // holds an array of prices to be adjusted (for multiple price adjustments)
    var _oflag = false; // do not alter this

    var seeker = new RegExp(/\(\s*([+-]?)([^0-9]*)([0-9,]+\.[0-9]+)([^0-9)]*)\s*\)/);

    // Updater sidebox settings
    var _sidebox = false; // set this to: false - don't use or the ID of the sidebox you want the display to insert above (must be exact)
    var objSB = false; // this holds the sidebox object

    // Second price setting
    // the following settings allow a second price to be displayed... if a page is very long this allows you to add another price display
    // thanks to Ryk on the Zen Cart forums for the idea and pointing out the issue
    var _secondPrice = false; // set this to either false for disabled or supply the ID of an element for the price to appear BEFORE... for example, cartAdd
    var _SPDisplay = 'always'; // governs the behaviour of the second... 'always' permanently displays and 'update' shows the second price only when an attribute is selected
    var objSP = false; // please don't adjust this

    // debug settings
    var _debug = true; // set to false to disable debug output
    var _db = '';
    var _dbdiv = false;

  9. #349
    Join Date
    Jul 2005
    Location
    Wales, UK
    Posts
    382
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    Hi

    @Nlussi219: Sorry for not responding sooner... The issue you are experiencing is a fairly common one... If I'm not mistaken the fix (which was not discovered by me) is to set your 0 cost attributes at 0.0001... This should force the update

    @lndlyb4: I'll take a better look at your site later today but on first inspection I can't see that there is anything for the Updater to do on the page you have linked to... I will apply for an account later so I can see if anything changes (the 'login for price' will immediately scupper the Updater)... I also noticed that the dropdown has no prices listed in it but this may be because I need to log in

    Watch this space!

    Cheers

    Dan

  10. #350
    Join Date
    Mar 2009
    Posts
    78
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Thanks Chrome,

    Very kind of you to respond.

    I'll keep my eyes open for your comments.

 

 

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