Page 19 of 169 FirstFirst ... 917181920212969119 ... LastLast
Results 181 to 190 of 1681
  1. #181
    Join Date
    Jun 2008
    Posts
    85
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    actually the code to have the price and the add to cart button float on the top right is

    HTML Code:
    <DIV style="position: fixed; top: 56px; right: 30px; width: 240px; height: 40px;" id=cartAdd><H2 class=productGeneral id=productPrices>Starting at: $281.00</H2>Add to Cart: <INPUT maxLength=6 size=4 value=1 
          name=cart_quantity><BR><BR><INPUT type=hidden value=180 
          name=products_id><INPUT title=" Add to Cart " type=image alt="Add to Cart" 
          src="HOPC1 [HOPC1] - $281_00  OZM Systems, Powerful Custom Computers_files/button_in_cart.gif"> 
          </DIV>
    but again this is only works when I save the product page and add this code

    obviously I need it to be done by the cart but I'm not sure what code to edit
    I know the site is compiled from a bunch of files, I just need to find the file that calls for the div id=cartadd on the product detail page I think

    any help would be greatly appreciated

  2. #182
    Join Date
    Jun 2008
    Posts
    85
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    ok, figured it out

    you need to open the file tpl_product_info_display.php which is located in \includes\templates\template_default\templates

    before the <!--bof Product Price block -->

    I added

    HTML Code:
    <div style="position: fixed; top: 56px; right: 30px; width: 240px; height: 40px;">
    and a closing div tag after <!--eof Product Price block -->

    also I edited the div id="cartAdd" to

    HTML Code:
    <div style="position: fixed; top: 76px; right: 30px; width: 240px; height: 40px;" id="cartAdd">
    (the closing div is already there)

    then save it and upload it, the look of the box is a thin black line which I will try and also get the price breakdown to display too

    WOW Zen Cart Rocks, together we can do anything with it

  3. #183
    Join Date
    Jun 2008
    Posts
    85
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    argh... only works on firefox...I will have to find out how to position it correctly in IE

  4. #184
    Join Date
    May 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Chrome,

    Hows the new version coming along? I want to install this but I dont want to do it if there the new version coming soon. Also have you got it to work with quantity discounts?

    Joe

  5. #185
    Join Date
    Jan 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    When the option type is RADIO and the value 0 is selected, the price doesn't change back to previous amount.

    i.e:

    Price: $100
    option 1: +0
    option 2: +100


    option 1 selected -> price $100
    option 2 selected -> price $200
    option 1 reselected (option 2 automatically unselected) -> price stays at $200, doesn't go back to $100.

    Any idea how to work around this issue?

    Thanks

  6. #186
    Join Date
    Jun 2008
    Posts
    85
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    you can use checkboxes to get around the price adjustment issue

    the code for positioning I posted works in IE7+, FF, Opera and others

    I'm still working on getting the code to place the information in a decent spot on IE6

    I figured out how to put the price breakdown on the side so it scrolls with the page too (you will need to turn it off in the admin under tools layout box controller)

    insert this code anywhere, end of the page is fine

    HTML Code:
    <div style="position: fixed; top: 426px; right: 30px; width: 200px; height: 30px;"; align="center"> 
    <!--// bof: priceupdatersidebox //-->
    
    <div class="rightBoxContainer" id="priceupdatersidebox" style="width: 150px">
    <h3 class="rightBoxHeading" id="priceupdatersideboxHeading">Price Breakdown</h3>
    <div id="priceupdatersideboxContent" class="sideBoxContent"></div></div>
    <!--// eof: priceupdatersidebox //-->
    </div>
    add a div tag before the <!--bof Product Price block --> and a closing div tag like so

    HTML Code:
    <div style="position: fixed; top: 266px; right: 30px; width: 200px; height: 30px;"; align="center">
    <!--bof Product Price block -->
    <h2 id="productPrices" class="productGeneral">
    <?php
    // base price
      if ($show_onetime_charges_description == 'true') {
        $one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';
      } else {
        $one_time = '';
      }
      echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']);
    ?></h2>
    <!--eof Product Price block -->
    </div>
    style the div id="cartAdd" like so


    HTML Code:
    <div style="position: fixed; top: 306px; right: 60px; width: 100px; height: 40px; background-color:#81c481" id="cartAdd" align="center">
        <?php
          echo $display_qty;
          echo $display_button;
                ?>
    			  </div>
    This will display the price, add this to my cart button and the price breakdown
    This doesn't work on IE6 and below, I'm still working on a viable workaround for IE6 not supporting fixed positioning

  7. #187
    Join Date
    Apr 2008
    Location
    Nottingham, UK
    Posts
    46
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    Excellent contribution, thanks :)

  8. #188
    Join Date
    May 2007
    Posts
    471
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Thank you so much for this great mod! The only thing I cannot get to work is my Radio Button choice. For example:

    http://www.ilovephotogifts.com/index...roducts_id=131

    I have it set to option 4 where the element is below image and option name--this will not work with the price updater...neither does option 5, but 0-3 work fine?!?!!?

    I just read this whole thread but have not been able to find anything relevant to this issue?
    Jill || I Love Zen Cart Templates || 2 Dogs Design
    I Love To Help But Let's Keep It Public Please To Help Others!

  9. #189
    Join Date
    Aug 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    same problem with "Momokui"
    Issue of Price Updater. if i select price by attribute in product entry.

    Price: $100
    option 1: +0
    option 2: +100

    option 1 selected -> price $100
    option 2 selected -> price $200
    option 1 reselected (option 2 automatically unselected) -> price stays at $200, doesn't go back to $100.

    please help... thanks


    JYNKZ™

  10. #190
    Join Date
    Jun 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    For some reason I seem to be getting a (1) around the price of the product when an attribute is selected. I'm using radio buttons, and the price scales up and down correctly depending on which attribute I choose, yet the (1) still stays at the top of the page next to the price.

    I've looked through this thread a few times trying to get everything figured out, but can't find a solution to this problem. Anyone able to help me out? :)

    Thanks,

    Terps

 

 

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