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

Dynamic Price Updater

Views: 342,268

Results 281 to 300 of 1,701
11 Feb 2009, 3:33 PM
#281
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Dynamic Price Updater

Hi

I've had a quick look at the site

I believe the issue with double pricing can be resolved by giving the blank attributes a value of 0.0001... There is mention of it somewhere earlier in the thread... This will, unfortunately, lead to, for example, 30 inches having (+$0.00) after it... My memory of this problem is a little hazy so a quick trawl of the thread may be in order... I'll look into this tonight when I get to my dev machine and hopefully get an interim build completed

The price showing up twice is a direct result of the above error

For the quantity display, open up jscript_updater.php in an editor and find this line:

var showQuantity = true; // show the quantity the customer has requested in the main price header

Change the true to false and you should be all set

Hopefully I'll have some news in a few hours

Cheers

Dan

11 Feb 2009, 5:58 PM
#282
hachaliah avatar

hachaliah

New Zenner

Join Date:
Feb 2009
Posts:
6
Plugin Contributions:
0

Re: Dynamic Price Updater

The 0.0001 correction fixed the duplicate numbers in non-adjusting attributes. Thanks.

But I still have the "Your Price:" showing up twice - once by the image and once underneath. Too weird.

I'll get there!

11 Feb 2009, 6:14 PM
#283
web28 avatar

web28

New Zenner

Join Date:
Sep 2005
Posts:
20
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi,
i've made some modifications:

//NEW: NO INIT BY PRICE IS CALL, PRICE IS FREE
//NEW: SUPPORT FOR SPECIAL PRICES
//FIX: RADIO AND CHECKBOX OPTION PRICE = 0,00
//NEW: USE ZENCART CURRENCIES FORMAT
//NEW: USE ZENCART DEFAULT Decimal_Point, Thousands_Point
//FIX: ATTRIBUTE PICTURES if attribute pictures used , Dynamic Price Updater don't find the label with attribut prices
/*
Attribute Style for Radio Buttons/Checkbox" :
Image Styles:
0= Images Below Option Names #WORK#
1= Element, Image and Option Value #WORK#
2= Element, Image and Option Name Below #WORK#
3= Option Name Below Element and Image #WORK#
4= Element Below Image and Option Name #WORK#
5= Element Above Image and Option Name #WORK#
*/

web28

23 Mar 2009, 9:44 AM
#284
flasmar avatar

flasmar

New Zenner

Join Date:
Dec 2008
Posts:
26
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi,
I installed it and is not working on my zen cart
I get the following debug advice:

Debug messages
SP Onload: Type: always
updSP: Unable to clone price node!
updSP: Duplicating price, by jove!

Some idea of what can be wrong?

24 Mar 2009, 2:14 PM
#285
web28 avatar

web28

New Zenner

Join Date:
Sep 2005
Posts:
20
Plugin Contributions:
0

Re: Dynamic Price Updater

@ flasmar
Try to set:
var _secondPrice = false;

Post the link of your zen cart

web28

24 Mar 2009, 2:49 PM
#286
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

I have the link and am currently investigating

My Spidey-sense tells me the regex may be at fault

Dan

24 Mar 2009, 11:21 PM
#287
flasmar avatar

flasmar

New Zenner

Join Date:
Dec 2008
Posts:
26
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi everybody.
As web28 is willing to help aslo (thanks), have a look at my test site www.doct############o.es
www dot doctor gasmo (all together) dot es
Next time I will choose a name that is not abfuscated for my test site.

I have two products, first with base price 50 and 2 attributes (+100) and (+150)
second with base price 0 and 3 attributes each with total price.

Anyway Chorme seems to have a spider-idea... I wait your comments.
I installed the Chrome version, not 0.98 from web28

7 Apr 2009, 4:33 PM
#288
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: Dynamic Price Updater

anybody no what causes this error to appear when selecting an attribute?

Your price: undefined24.95undefined (1)

thanks.

7 Apr 2009, 6:55 PM
#289
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi

I do

Got a link? I'll check it out as I'm checking out flasmar's site... I think I can reuse some of the code I have written for his site

Cheers

Dan

8 Apr 2009, 6:05 PM
#290
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: Dynamic Price Updater

hi chrome,

thanks for the reply. i fixed it i guess. i still don't know what caused it, but i uploaded DynamicPriceUpdater_0.98 and it's working now.

:cheers:

17 Apr 2009, 10:31 AM
#291
7inter avatar

7inter

New Zenner

Join Date:
Mar 2005
Posts:
24
Plugin Contributions:
0

Re: Dynamic Price Updater

I have a problem...I have set up price on my store with 3 decimal places, decimal point "," thousands point "." because some of the products we offer have prices in this way.

Price on product info page when using dynamic price updater appears like this "1.960,00 €" instead of "196,00 €" but on shopping info page appears in correct way "196,00 €"

Product base price on attributes for Ø 5 mm. is 0,0140 € plus one time charge 45,00 €
for Ø 6 mm. is 0,0162 plus one time charge 45,00 €
Minimum quantity required for purchase this product is 14.000 units. so 0,0140€ x 14.000= 196,00 €

17 Apr 2009, 11:40 AM
#292
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi

For this you might want to try web28's slightly upgraded version of my script if you haven't already

I really must get round to conversing properly with web28 to integrate the changes into the main Updater... As always time is the issue! (my campaign for a 32 hour day and 9 day week isn't going as well as I'd hoped)

If that doesn't work let me know as I know what the issue is and should be able to fix it with a couple of lines

Dan

19 Apr 2009, 10:04 AM
#293
clever_trevor avatar

clever_trevor

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Dynamic Price Updater

I installed the DynamicPriceUpdater_multilangual files, and it appeared to be working. I am quite inexperienced with Zen-Cart so I might have done something wrong. I am using Zen Cart v1.3.8a/v1.3.8.

What happens is that I get a blank page when I click the "add this to my cart" on the product page. The product is added to the Shopping Cart, but to get there I have to click the link in the side box

20 Apr 2009, 5:19 PM
#294
clever_trevor avatar

clever_trevor

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Dynamic Price Updater

Clever Trevor:

I installed the DynamicPriceUpdater_multilangual files, and it appeared to be working. I am quite inexperienced with Zen-Cart so I might have done something wrong. I am using Zen Cart v1.3.8a/v1.3.8.

What happens is that I get a blank page when I click the "add this to my cart" on the product page. The product is added to the Shopping Cart, but to get there I have to click the link in the side box

Ok, I figured out how to get the Debug Error Logging working. Here is the php error I get, hope someone can help me out:

PHP Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/cart/includes/languages/english/extra_definitions/rl.vat_info.php:29) in /home/username/public_html/cart/includes/functions/functions_general.php on line 44

21 Apr 2009, 10:41 AM
#295
chrome avatar

chrome

Zen Follower

Join Date:
Jul 2005
Location:
Wales, UK
Posts:
392
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi

Unfortunately that looks like an error in another module; one with which I'm not familiar... I am, however, familiar with the error: PHP is telling you that some output (which may be as little as a single space) is being sent to the browser before the headers of script are finished (for instance setting a cookie)

If you are conversant with PHP you could check out the offending file to see if there are any spaces after the trailing ?> (or, preferrably, you could remove the ?> altogether)

If this doesn't work or you're not able to find the issue you could try opening your root index.php file and add ob_start() at the very beginning and ob_flush() at the very end... That's not a permanent solution as all it's doing is papering over the cracks really

If you have no luck let us know and maybe we can help get to the bottom of your issue

Dan

21 Apr 2009, 3:51 PM
#296
clever_trevor avatar

clever_trevor

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Dynamic Price Updater

Chrome:

Hi

Unfortunately that looks like an error in another module; one with which I'm not familiar... I am, however, familiar with the error: PHP is telling you that some output (which may be as little as a single space) is being sent to the browser before the headers of script are finished (for instance setting a cookie)

If you are conversant with PHP you could check out the offending file to see if there are any spaces after the trailing ?> (or, preferrably, you could remove the ?> altogether)

If this doesn't work or you're not able to find the issue you could try opening your root index.php file and add ob_start() at the very beginning and ob_flush() at the very end... That's not a permanent solution as all it's doing is papering over the cracks really

If you have no luck let us know and maybe we can help get to the bottom of your issue

Dan

Thanks. I solved the problem, it was caused by a blank line in the rl.vat_info.php file.

22 Apr 2009, 4:07 PM
#297
frilansreklam avatar

frilansreklam

New Zenner

Join Date:
Sep 2008
Location:
Sweden
Posts:
99
Plugin Contributions:
1

Re: Dynamic Price Updater

I need to know if this is on my shop only or a wrong in the module.

If I bought 100 of an item and use discount -$2 from origin price 100.
then I bought 1 with some change to attribute and it get still the discount price.
$98

22 Apr 2009, 5:56 PM
#298
frilansreklam avatar

frilansreklam

New Zenner

Join Date:
Sep 2008
Location:
Sweden
Posts:
99
Plugin Contributions:
1

Re: Dynamic Price Updater

Fixed. missunderstod the setup for the product price

24 Apr 2009, 3:33 AM
#299
byoriginaldesign avatar

byoriginaldesign

New Zenner

Join Date:
Apr 2009
Posts:
84
Plugin Contributions:
0

Re: Dynamic Price Updater

I broke it. :dontgetit Well actually it says you broke it Chrome. :D

Well, I know what I did, and it's somewhat of a "which feature matters more" moment, unless you can help me fix it.

The product I've been testing out some stuff on is at: http://www.wholesale4realtors.com/cart/index.php?main_page=product_info&cPath=65_66_81&products_id=186

The price updater app was working perfectly until I made a mod to the product option name, extending it to 255 characters to be able to add a mouse-over tooltip and link on some options. I'm fairly sure this change in the option name is giving the updater code the hicup it has now.

Let me know if you can tell if that is the issue and/or can think of a way to work around it, because you're app is great and I'd rather not choose between the two. :wacko:

24 Apr 2009, 4:07 AM
#300
byoriginaldesign avatar

byoriginaldesign

New Zenner

Join Date:
Apr 2009
Posts:
84
Plugin Contributions:
0

Re: Dynamic Price Updater

Fixed with the update for the most part (Thought I already had it). Now I have to figure out why the last option with the radio button isn't adding the $1, but I'm closer than I was...

Once again, great app, and thanks Web28 for assisting on the updates.

web28:

New multilangual Version

web28

Chrome:

Hi

For this you might want to try web28's slightly upgraded version of my script if you haven't already

I really must get round to conversing properly with web28 to integrate the changes into the main Updater... As always time is the issue! (my campaign for a 32 hour day and 9 day week isn't going as well as I'd hoped)

If that doesn't work let me know as I know what the issue is and should be able to fix it with a couple of lines

Dan