Page 115 of 167 FirstFirst ... 1565105113114115116117125165 ... LastLast
Results 1,141 to 1,150 of 1668
  1. #1141
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Dynamic Price Updater

    Quote Originally Posted by MarcoB View Post
    Great plugin!!

    But I have a question; I would like to have a different fontsize for the komma and the last two digits of the price, is there a way to do this?
    It can be done, but not very easy. You will have to split the price in two parts, and place a <span> around the comma with a class. This could be done using jQuery.

  2. #1142
    Join Date
    Jan 2015
    Location
    The Netherlands
    Posts
    4
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by Design75 View Post
    It can be done, but not very easy. You will have to split the price in two parts, and place a <span> around the comma with a class. This could be done using jQuery.
    It can't be done with php? I have no knowledge of jQuery..
    I thought if someone could show me where I can find the 'final output' of this plugin I might find a way..

  3. #1143
    Join Date
    Jan 2015
    Location
    The Netherlands
    Posts
    4
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by Design75 View Post
    It can be done, but not very easy. You will have to split the price in two parts, and place a <span> around the comma with a class. This could be done using jQuery.
    Can you tell me where I can find the price? Or maybe refer me to a post in which it is explained?

    I assume that from there on I will figure out how to change this

    Thx in advance

  4. #1144
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Dynamic Price Updater

    Quote Originally Posted by MarcoB View Post
    Can you tell me where I can find the price? Or maybe refer me to a post in which it is explained?

    I assume that from there on I will figure out how to change this

    Thx in advance
    I'll look it up tommorow, and let you know

  5. #1145
    Join Date
    Sep 2010
    Location
    Finland
    Posts
    59
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    When I change family size price changes. So beautiful. But I also want to change to the extra options. Because family size of extra options are 2 euro. Is it possible?

    Name:  Screen Shot 2015-01-20 at 01.52.38 copy.jpg
Views: 123
Size:  54.5 KB

  6. #1146
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Dynamic Price Updater

    Not sure, but looks like a checkbox is used... Further not sure if the plugin works/recognizes checkboxes... May want to switch to a radio button or dropdown with an additional option of both items and an individual price for that mixture. That's also assuming that the plugin works with multiple attributes.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #1147
    Join Date
    Sep 2010
    Location
    Finland
    Posts
    59
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    But when I change family size same time change to extra options attribute.

  8. #1148
    Join Date
    Jan 2015
    Location
    The Netherlands
    Posts
    4
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by MarcoB View Post
    Great plugin!!

    But I have a question; I would like to have a different fontsize for the komma and the last two digits of the price, is there a way to do this?
    I thought I should share my answer to my own question
    Eventually I figured it out.

    In the file /includes/classes/dynamic_price_updater.php at line 83,
    after this:
    Code:
    $this->responseText['priceTotal'] .= number_format($this->shoppingCart->total, 2);
        } else {
          $this->responseText['priceTotal'] .= $currencies->display_price($this->shoppingCart->total, 0);
    and before this:
    Code:
        $this->responseText['weight'] = (string)$this->shoppingCart->weight;
    I have added this:
    Code:
        $nweprijs = $this->responseText['priceTotal']  ;
        $this->responseText['priceTotal'] =  '<span class="prijs">' . substr($nweprijs, 0, -3) . '</span>' . '<span class="komma">' . substr($nweprijs, -3) . '</span>';
    This will give you extra classes for the price, so it is possible to have something like this: 19,95

    It is probably not the best way to do this, but it works

  9. #1149
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Is it ok to use Dynamic Price Updater on ZenCart 1.5.3? On the plugin page, it just says 1.5.0 and 1.5.1
    Debbie Harrison
    DVH Design | Web Design blog

  10. #1150
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Dynamic Price Updater

    Quote Originally Posted by dharrison View Post
    Is it ok to use Dynamic Price Updater on ZenCart 1.5.3? On the plugin page, it just says 1.5.0 and 1.5.1
    Yes it is, I have it working on 1.5.3 and 1.5.4 sites

 

 

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