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

Dynamic Price Updater

Views: 342,345

Results 1,041 to 1,060 of 1,701
26 Jul 2013, 12:04 PM
#1041
milanjezko avatar

milanjezko

New Zenner

Join Date:
Nov 2012
Posts:
3
Plugin Contributions:
0

Dynamic Price Updater

Could you help me with tis errors please , if i give you ftp pass? Or want you something for that?

26 Jul 2013, 7:56 PM
#1042
naldinho avatar

naldinho

New Zenner

Join Date:
Apr 2013
Location:
Ottawa
Posts:
2
Plugin Contributions:
0

Re: Dynamic Price Updater

Installed and it worked fine first go.

Thank you for an excellent add-on and thank you for continuing development of it.

I do have one question is it possible to have the price be dynamic based on attributes but not based on quantity?

I'd like to have the per unit price be dynamic but the price to remain per unit even when the person changes the Quantity.

I suspect that should be something I could change by editing the code but was curious if there was a way to do it out of the box?

27 Jul 2013, 11:11 PM
#1043
design75 avatar

design75

Totally Zenned

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

Re: Dynamic Price Updater

I discovered a small bug, on my behalf. :blush:

In the file \includes\classes\dynamic_price_updater.php on line 43 there is

    $this->shoppingCart = $_SESSION['cart']();

this should be (as it was originally)

    $this->shoppingCart = new shoppingCart();

A new version is now submitted to the downloads section, and waiting to be approved.

8 Aug 2013, 1:56 PM
#1044
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Dynamic Price Updater

I have been using ZenCart for years and Google has always indexed my product pages with no problem and no real seo efforts on my part, but for some reason now NONE of my product pages or category pages are showing up when I search Google with "site:discountprintingservice.com"...I have been using DPU on my site for a long time but I have to ask can DPU interfere with Google indexing my pages? Or has the code of ZenCart changed with v1.5.1 that would cause Google not to index these pages??? And before any one replies "you need meta tags" I know all about using the Meta Tags and what good titles, keywords, & descriptions are and yes some of my products have them and some don't but previously all pages were getting indexed regardless of whether I defined meta tags or not....:no:

8 Aug 2013, 2:08 PM
#1045
design75 avatar

design75

Totally Zenned

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

Re: Dynamic Price Updater

GoldBuckle:

I have been using ZenCart for years and Google has always indexed my product pages with no problem and no real seo efforts on my part, but for some reason now NONE of my product pages or category pages are showing up when I search Google with "site:discountprintingservice.com"...I have been using DPU on my site for a long time but I have to ask can DPU interfere with Google indexing my pages? Or has the code of ZenCart changed with v1.5.1 that would cause Google not to index these pages??? And before any one replies "you need meta tags" I know all about using the Meta Tags and what good titles, keywords, & descriptions are and yes some of my products have them and some don't but previously all pages were getting indexed regardless of whether I defined meta tags or not....:no:

I do not think DPU interferes. The majority of changes I made to DPU were to the way files were read and html was generated. So you could say it is still the same module, but rewritten in a new format.

8 Aug 2013, 2:46 PM
#1046
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi

The Updater doesn't interfere with Google SE results; its actions are ignored by robots. Unfortunately I can't say what may have caused your problem but I doubt it's the Updater

Good luck

Dan

8 Aug 2013, 11:47 PM
#1047
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Dynamic Price Updater

Ok I just wanted to be sure...

9 Aug 2013, 12:27 AM
#1048
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Dynamic Price Updater

Also while I am thinking about it, I love the update to DPU, great work Design75 on the update, and good to see you back on here too Dan....Dan you probably remember this but I had an issue with DPU not working on my site and you helped me fix it and I have a question about it for both you and Design75...

In the file jscript_dynamic_price_updater.php, Dan you had me change line 35 to:
var theURL = 'http://www.discountprintingservice.com/dpu_ajax.php';

I forgot about this when I upgraded last night and the newer version stalled and I remembered it and changed the same file newer version on line 33 to the same and it started working again...my question is why do I have to do this and shouldn't it work as is with out having to add the code specifically with my site?

Is there something about my site or my DIY template that is causing an issue?

Anyway thanks guys!

9 Aug 2013, 12:42 AM
#1049
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi John

Thanks :smile:

If I remember right, it was a cross-domain security issue that was preventing the Updater from working. The 'hard-coding' of the URL was a bit of a workaround for your host

I'm not sure what setting caused this

Dan

9 Aug 2013, 12:44 AM
#1050
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Dynamic Price Updater

Is this issue something I should address with my host?

9 Aug 2013, 12:47 AM
#1051
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi John

If all it means is changing a line of code then not at all. It seems more like a good thing than bad (your host appears to be blocking XSS attacks)

Dan

12 Aug 2013, 1:50 PM
#1052
ray_collins avatar

ray_collins

New Zenner

Join Date:
May 2012
Posts:
7
Plugin Contributions:
1

Re: Dynamic Price Updater

I managed to get a weird bug with DPU v3.0 on ZC 1.5.1.

Installed without issue, configs fine, and functions.

When a product, in any configuration, is "added to cart" for the first time in a session, it's added in duplicate (2 identical items are added, both at the proper cost). Items added after the first item are added are single, and proper cost. However, the displayed price (in product info, dynamicPrice field) is reflective of the current shopping cart total (i.e., even if no product or attributes are selected, the price displayed is the total in-cart. If something is chosen, it updates properly, but adds the price to the total cart price.)

This causes some issues for me, obviously. No error logs are generated, no pop-ups, etc. It appears to work fine other than adding the first product twice and calculating price based on cart total+attribute prices.

Any suggestions? I've uninstalled/re installed, tried version 2 and 3, and read through almost every page in this thread.

Any help would be greatly appreciated.

28 Aug 2013, 6:32 AM
#1053
ross avatar

ross

New Zenner

Join Date:
Jun 2012
Posts:
1
Plugin Contributions:
0

Re: Dynamic Price Updater

azzoor:

never mind i figured it out :smile:

Have the same problem. Can you explain how you solved it?

9 Sep 2013, 5:23 PM
#1054
corseter avatar

corseter

New Zenner

Join Date:
Jun 2010
Location:
Crossmolina, Ireland
Posts:
55
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi, Got the plugin working straight away on 1.3.8 and love it. Really makes a difference. Once this I did notice is that when teh feature is turned on the "Add this" plugin icons disappear and erappear when you turn the feature off. Any ideas on how to get them to stay?

11 Sep 2013, 10:48 PM
#1055
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi corseter

Do you have a link so I can take a quick look?

Dan

18 Sep 2013, 11:14 AM
#1056
corseter avatar

corseter

New Zenner

Join Date:
Jun 2010
Location:
Crossmolina, Ireland
Posts:
55
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi Chrome, Don't worry about it. For some reason they came back by themselves. What I do have an issue with is that when you are logged in as a wholesale customer the main product price still displays the retail price until an attribute is changed and the attributes themselves still display the retail price despite doing the correct calculation whosen chosen. EG attribute displays 180 buts adds 100 to the wholesale price.

18 Sep 2013, 12:16 PM
#1057
chrome avatar

chrome

Zen Follower

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

Re: Dynamic Price Updater

Hi

The Updater doesn't know about wholesale prices I'm afraid; it merely makes a request for the selected product/attribute from the Cart object. I'm not sure quite how Zen handles this as it's been a while since I worked with that part of the system. If you don't mind giving me a couple of weeks I'll be working with the Cart (and core Updater code) and I'll have a look into it for you

Cheers

Dan

18 Sep 2013, 1:00 PM
#1058
corseter avatar

corseter

New Zenner

Join Date:
Jun 2010
Location:
Crossmolina, Ireland
Posts:
55
Plugin Contributions:
0

Re: Dynamic Price Updater

Hi Chrome,
That would be awesome. Thanks so much.

18 Sep 2013, 10:07 PM
#1059
rescoccc avatar

rescoccc

Totally Zenned

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

Re: Dynamic Price Updater

Just wanted to say thanks for a great little plugin!

18 Sep 2013, 10:12 PM
#1060
kwrosenzweig avatar

kwrosenzweig

New Zenner

Join Date:
Jun 2011
Posts:
20
Plugin Contributions:
0

Re: Dynamic Price Updater

When my customers are looking at products, after I implemented this mod, I see dpu_ajax.php as the url they are browsing in the who's online part of the admin. How do I fix this?