Zen Cart Logo
Forums / All Other Contributions/Addons / Dynamic Price Updater

Dynamic Price Updater

Views: 342,338

Results 1,141 to 1,160 of 1,701
26 Jul 2014, 8:06 PM
#1141
anderson6230 avatar

anderson6230

New Zenner

Join Date:
Jul 2014
Posts:
13
Plugin Contributions:
0

Dynamic Price Updater

OK a strange one, the dynamic price updater works on mobile phones but not tablets or desktop PCs..

29 Sep 2014, 11:20 AM
#1142
aire avatar

aire

New Zenner

Join Date:
Jun 2014
Location:
Alicante
Posts:
15
Plugin Contributions:
0

Re: Dynamic Price Updater

Does anybody know where is the updateR function in Dynamic Price Updater for 1.5?

Has it been disappear?

I'm trying to update a 1.3.8a to 1.5 zencart, and this addon is highly used.

29 Sep 2014, 11:38 AM
#1143
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Dynamic Price Updater

aire:

Does anybody know where is the updateR function in Dynamic Price Updater for 1.5?

Has it been disappear?

I'm trying to update a 1.3.8a to 1.5 zencart, and this addon is highly used.

As far as I know it has never been a part of DPU

1 Oct 2014, 12:02 PM
#1144
aire avatar

aire

New Zenner

Join Date:
Jun 2014
Location:
Alicante
Posts:
15
Plugin Contributions:
0

Re: Dynamic Price Updater

Thank you!

24 Oct 2014, 6:09 AM
#1145
tuxy avatar

tuxy

New Zenner

Join Date:
Sep 2013
Location:
Right Here
Posts:
16
Plugin Contributions:
0

Re: Dynamic Price Updater

Greetings and thanks very much for this addon.

I have searched this thread completely and cannot find an answer as to whether this modification works on the product listing screen. On my installation of Zen-Cart, it only works when viewing a single product. The question has been asked several times but there has not been an answer given, one way or the other other.

So, does this modification work on the product listing page or am I simply missing something to make it work?

Thanks to anyone who can shed a little light on this for me.

24 Oct 2014, 8:07 AM
#1146
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Dynamic Price Updater

Tuxy:

Greetings and thanks very much for this addon.

I have searched this thread completely and cannot find an answer as to whether this modification works on the product listing screen. On my installation of Zen-Cart, it only works when viewing a single product. The question has been asked several times but there has not been an answer given, one way or the other other.

So, does this modification work on the product listing page or am I simply missing something to make it work?

Thanks to anyone who can shed a little light on this for me.

No, it does not work on the product listing page, and it never will, because there are no attributes to select from in the product listing.

24 Oct 2014, 1:05 PM
#1147
tuxy avatar

tuxy

New Zenner

Join Date:
Sep 2013
Location:
Right Here
Posts:
16
Plugin Contributions:
0

Re: Dynamic Price Updater

Design75:

No, it does not work on the product listing page, and it never will, because there are no attributes to select from in the product listing.

Oh, Ok. I guess I have been running the Attributes On Products Listings 2.0 so long, I'd forgotten that it was a plug-in.

That being the case, I wonder how difficult it would be to add dynamic price update functionality to work in conjunction with this plug-in. I'm using ZC 1.5.1.

24 Oct 2014, 1:20 PM
#1148
tuxy avatar

tuxy

New Zenner

Join Date:
Sep 2013
Location:
Right Here
Posts:
16
Plugin Contributions:
0

Re: Dynamic Price Updater

It would be nice to be able to select the attribute and have the price update here, as well.

Attachment 14625

24 Oct 2014, 1:33 PM
#1149
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Dynamic Price Updater

Ah I see, I wiil put it on my to do list, but I can not promise anything. It is a long list :laugh:

25 Nov 2014, 9:53 PM
#1150
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Dynamic Price Updater

dharrison:

All works fine. One last thing: I have the total show up twice on the page, is there a way I can change this so the Unit price for the product shows up as well as the total?

If that means extra development, then please do quote me on PM what it would cost or if it's something I can do myself (with instructions!).

Many thanks for your help Erik. :laugh:

I don't know about the second part, but I had the total showing twice on one of the sites where I installed the mod. Solved it by adding this to the stylesheet:

#productPricesSecond {display: none;}

14 Dec 2014, 8:01 AM
#1151
clange avatar

clange

New Zenner

Join Date:
Dec 2014
Location:
Denver, CO
Posts:
13
Plugin Contributions:
0

Re: Dynamic Price Updater

If anyone is using any Numinix products or any other modules that add extra columns to the configuration table, you will experience an error when installing this module!

The log file will show "PHP Fatal error." To fix this problem, you must supply the columns you intend to modify when performing an INSERT (which is good practice IMHO).

For example line 49 of init_dpu_config.php should read:

$sql = "INSERT INTO ".DB_PREFIX."configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Dynamic Price Updater Status', 'DPU_STATUS', 'false', 'Enable Dynamic Price Updater?', '".$dpu_configuration_id."', 10, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),')";

That should be replicated for all INSERT commands into the configuration table (or any table for that matter).

-c

14 Dec 2014, 11:52 AM
#1152
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Dynamic Price Updater

clange:

If anyone is using any Numinix products or any other modules that add extra columns to the configuration table, you will experience an error when installing this module!

The log file will show "PHP Fatal error." To fix this problem, you must supply the columns you intend to modify when performing an INSERT (which is good practice IMHO).

For example line 49 of init_dpu_config.php should read:

$sql = "INSERT INTO ".DB_PREFIX."configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Dynamic Price Updater Status', 'DPU_STATUS', 'false', 'Enable Dynamic Price Updater?', '".$dpu_configuration_id."', 10, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),')";

> 
> That should be replicated for all INSERT commands into the configuration table (or any table for that matter).
> 
> 
> -c

You are absolutely right. And it was already scheduled for a next release.
15 Dec 2014, 4:20 AM
#1153
clange avatar

clange

New Zenner

Join Date:
Dec 2014
Location:
Denver, CO
Posts:
13
Plugin Contributions:
0

Re: Dynamic Price Updater

Design75:

You are absolutely right. And it was already scheduled for a next release.

Very cool. Thanks for this plugin!

15 Dec 2014, 7:31 AM
#1154
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Dynamic Price Updater

clange:

Very cool. Thanks for this plugin!
Don't thank. Me for the plugin :smile: it was Chrome who made it, I merely updated it.
I am thinking about rewriting it to use Ajax and jQuery, but those are future plans.

12 Jan 2015, 4:45 PM
#1155
marcob avatar

marcob

New Zenner

Join Date:
Jan 2015
Location:
The Netherlands
Posts:
4
Plugin Contributions:
0

Re: Dynamic Price Updater

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?

12 Jan 2015, 6:53 PM
#1156
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Dynamic Price Updater

clange:

If anyone is using any Numinix products or any other modules that add extra columns to the configuration table, you will experience an error when installing this module!

The log file will show "PHP Fatal error." To fix this problem, you must supply the columns you intend to modify when performing an INSERT (which is good practice IMHO).

For example line 49 of init_dpu_config.php should read:

$sql = "INSERT INTO ".DB_PREFIX."configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Dynamic Price Updater Status', 'DPU_STATUS', 'false', 'Enable Dynamic Price Updater?', '".$dpu_configuration_id."', 10, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),')";

> 
> That should be replicated for all INSERT commands into the configuration table (or any table for that matter).
> 
> 
> -c

> **Design75:**
>
> You are absolutely right. And it was already scheduled for a next release.

Recommend (if not already considered) also that the DB_PREFIX."configuration be changed to simply TABLE_CONFIGURATION as in the below and the configuration_id be removed so that it is system independent and because it is auto_generated (some systems don't like NULL and require 0, but they both end up doing the same thing, assigning the next id.. Update is shown below, another recommendation is a matter of "taste", but one may assume that the addition of a key is not the same as a modification of it (also see the example sql for populating the database with the demo product that the last_modified field is generally not set to a date), so the last_modified field probably could be left off the insert. That has not been incorporated below):

$sql = "INSERT INTO ".TABLE_CONFIGURATION." (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Dynamic Price Updater Status', 'DPU_STATUS', 'false', 'Enable Dynamic Price Updater?', '".$dpu_configuration_id."', 10, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),')";

12 Jan 2015, 8:26 PM
#1157
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Dynamic Price Updater

mc12345678:

Recommend (if not already considered) also that the DB_PREFIX."configuration be changed to simply TABLE_CONFIGURATION as in the below and the configuration_id be removed so that it is system independent and because it is auto_generated (some systems don't like NULL and require 0, but they both end up doing the same thing, assigning the next id.. Update is shown below, another recommendation is a matter of "taste", but one may assume that the addition of a key is not the same as a modification of it (also see the example sql for populating the database with the demo product that the last_modified field is generally not set to a date), so the last_modified field probably could be left off the insert. That has not been incorporated below):

$sql = "INSERT INTO ".TABLE_CONFIGURATION." (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Dynamic Price Updater Status', 'DPU_STATUS', 'false', 'Enable Dynamic Price Updater?', '".$dpu_configuration_id."', 10, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),')";


THanks, this is somethying i already had changed in the test version. Theoretically it is possible someone changes the name of the configuration table.
13 Jan 2015, 8:44 AM
#1158
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Dynamic Price Updater

MarcoB:

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.

13 Jan 2015, 6:58 PM
#1159
marcob avatar

marcob

New Zenner

Join Date:
Jan 2015
Location:
The Netherlands
Posts:
4
Plugin Contributions:
0

Re: Dynamic Price Updater

Design75:

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.. :blush:

14 Jan 2015, 7:50 PM
#1160
marcob avatar

marcob

New Zenner

Join Date:
Jan 2015
Location:
The Netherlands
Posts:
4
Plugin Contributions:
0

Re: Dynamic Price Updater

Design75:

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 :lookaroun

Thx in advance