Page 65 of 169 FirstFirst ... 1555636465666775115165 ... LastLast
Results 641 to 650 of 1681
  1. #641
    Join Date
    Aug 2008
    Posts
    50
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Hi,

    I had the problem with attributes replaces main image not working with dpu. I came up with a fix which is below which should work for you, let me know if it does.

    Place the code within your tpl_modules_attributes.php and change attrib-2 with the attribute of you option(go into view source to find it). within the code that produces the dropdown on your page you will see code similar to 'getattribimage("id[2]",547,500, this.value,2);' replace it with what you see in the same format, this will ensure the image size remains the same.

    <script type="text/javascript">
    function afunc(){
    getattribimage("id[2]",547,500, this.value,2);
    }


    var
    el=document.getElementById("attrib-2");

    try{
    el.addEventListener("change",afunc, false);
    }
    catch(e){
    try{
    el.attachEvent("onchange",afunc);
    }
    catch(e){
    el.onchange=afunc;
    }
    }

    </script>

    Let me know if you have any problems with this, if you have more than one attribute that will replace the attribute image I can help you out with some extra code

  2. #642
    Join Date
    Dec 2009
    Location
    New York, NY
    Posts
    45
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Thank you Chrome for this wonderful mod. It didn't work at first but then tested it some and then finally realized that DPU and the product image slimbox powered by Javascript clashes. When I removed the javascript from html_header.php DPU worked like a charm. I know there has been many issues with lightbox, slimbox, and all the other "boxes" not being compatible with other scripts. Do you by any chance know how to make them play nicely? I know it's all about changing the name of a variable but not sure which and where to look in the coding.

  3. #643
    Join Date
    May 2010
    Posts
    33
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Thank you bigsy85.

    I Understand exactly where I have to put the code in tpl_modules_attributes.php.

    I search getattribimage, but not find. Could you please said me where I have to put the code?.

    Thank you again

  4. #644
    Join Date
    Aug 2008
    Posts
    50
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    You can place the javascript anywhere within that file, when I reffered to finding the 'attrib-2' name I meant on your actual html page to find that value. For another site I run I'vre managed to get it running a slightly different way but the code posted earlier should work - if not i'll take alook at your site tonight and help you out.

  5. #645
    Join Date
    May 2010
    Posts
    33
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    really thank you very much for your interest.

    OK, i´m copied the code you post in tpl_modules_attributes.php, and change attrib-2 by attrib-1, that I found in my source, but I think i´m doing something wrong.

    This night I will be online waiting for your help about 22:30 pm.

    thanks thanks, I think solve this can give other users a perfect tool for this superb cart. ;-)

    See you tonight

  6. #646
    Join Date
    Dec 2009
    Location
    New York, NY
    Posts
    45
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by Sheryll View Post
    Thank you Chrome for this wonderful mod. It didn't work at first but then tested it some and then finally realized that DPU and the product image slimbox powered by Javascript clashes. When I removed the javascript from html_header.php DPU worked like a charm. I know there has been many issues with lightbox, slimbox, and all the other "boxes" not being compatible with other scripts. Do you by any chance know how to make them play nicely? I know it's all about changing the name of a variable but not sure which and where to look in the coding.
    If anyone is having a similar problem to this I figured out a way to get around this. If you download the zen cart version of the slimbox, it's slimbox1 and that is run by mootools. just install everything following the instructions. Once you install it, google slimbox2 and upgrade it. slimbox2 uses jquery instead of mootools so it does not have any conflict with DPU.

  7. #647
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    I installed version 2 of this mode. wondering , what is (1) beside the price and how can i remove ?

  8. #648
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by tony_sar View Post
    I installed version 2 of this mode. wondering , what is (1) beside the price and how can i remove ?
    never mind , it is quantity ..

  9. #649
    Join Date
    Apr 2010
    Posts
    74
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    I guys...

    Thanks a lot for this contribution.. Great Job I would say.

    BUT, this module does not support the internationalisation, and I'm using also a french language.

    Is there a chance to get this module with the Internationalisation support ?
    Or should I have some tips to make the job and put it back ?

    Thanks for your help

  10. #650
    Join Date
    Apr 2010
    Posts
    74
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    I've also another problem on products without attributes, the price of the product is 2€ and then is updated to 0€ because there is no attributes.

    I've got the version 1.3.8a of the Zencart
    Thanks for your help

 

 

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