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

Dynamic Price Updater

Views: 342,267

Results 1,461 to 1,480 of 1,701
8 Aug 2018, 8:42 AM
#1461
mc12345678 avatar

mc12345678

Totally Zenned

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

Dynamic Price Updater

devlyn:

Zen version 1.5.5f
I was using a different template and got dynamic price updater working great! Then I switched to a new template and no love. I've tried uninstalling and reinstalling.

Can you put eyes on it and see if there's somehing obvious I'm missing? http://odd-bodkin.com/chemise/sylvia/broadcloth
Javascript===html validation...

What I mean by that (abnormal) representation is that for things to "auto-update" there is some form of javascript involved. When javascript (jquery or the like) is involved, the page's html really should validate. Ie. For every open tag there should be an equivalent close tag located in the correct sequence: <tag1><tag2></tag2></tag1>. There are other "criteria" as well.

Anyways, this page ends up showing several errors that could affect the ability of javascript to execute as found here: ```
https://validator.w3.org/nu/?doc=http%3A%2F%2Fodd-bodkin.com%2Fchemise%2Fsylvia%2Fbroadcloth


Another potential issue after that is resolved could be from other javascript overriding the operations already "attached", but I didn't see that per se in the html code. I didn't have a chance to try on a desktop where I could follow the script execution better.
10 Aug 2018, 5:44 PM
#1462
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Dynamic Price Updater

dbltoe:

ZC 1.5.5f PHP 7.1 https://allpecans.com/index.php?main_page=product_info&cPath=38&products_id=138

I've read thru this thread a couple of times trying to figure out how to get this updater to not fire on products that are not priced by attribute. Or, to get it to not fire on individual attributes.

It's an excellent concept, but at the very least annoying to have the price "bouncing around" as you make changes/selections that have no change whatsoever to the price. At its scariest point, I wonder if it violates 508 accessibility in the possible blink rate when adding text. Certain colors blinking at specific rates can result in seizures. I agree that this is stretching things a bit, but having seen a flashing screen cause a seizure makes me understand why 508 specifies no blinking at certain rates. https://webaim.org/articles/seizure

In the link above, it's possible that an unaware typist could set off an improper flicker by typing a Gift Message. Again, I agree that this is worst case scenario. I think that most would agree that it is at least distracting.

In earlier portions of the thread, it was intimated that there were ways of turning off the properties of DPU. Some threads mentioned removing the plus sign. I have not been successful in finding any way to turn this off individually.

Best case in the above example would be to not fire DPU at all as the item is not priced by attributes. However, even an item priced by attributes might need to turn off one attribute. The Gift Message at https://allpecans.com/index.php?main_page=product_info&cPath=26&products_id=115 being an example.

Not having the expertise to mess with jscript_dynamin_price_updater.php, I'm hoping some of you have suggestions.

THANX

dbltoe:

Thanks for taking a look.

Completely written without testing (yet), but I wouldn't mind a little feedback/indication of complete failure.

The changes are basically shown in the following comparison: https://github.com/mc12345678/Dynamic_Price_Updater/compare/a5b342333a22c82e3b0e59163355c2430221255b...mc12345678-reduce-events

I wrote it based on expected and partially observed operations, I plan on applying it to a live like system to see if can eliminate the flickering for option names that do not affect price and to continue to work out other bugs (that might exist).

10 Aug 2018, 6:17 PM
#1463
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Dynamic Price Updater

mc12345678:

Completely written without testing (yet), but I wouldn't mind a little feedback/indication of complete failure.

The changes are basically shown in the following comparison: https://github.com/mc12345678/Dynamic_Price_Updater/compare/a5b342333a22c82e3b0e59163355c2430221255b...mc12345678-reduce-events

I wrote it based on expected and partially observed operations, I plan on applying it to a live like system to see if can eliminate the flickering for option names that do not affect price and to continue to work out other bugs (that might exist).
Just did a quick look at the source code of a page that has a text box and already see that those concerned with a text box will be happy because even if everything else is right, the text box won't get identified to update the price(s). Will need to double check the file type option as well... I had already accounted for differences in radio and checkboxes, but missed the unique info for text boxes... darnit.

The above link will still be good when that is corrected though.

10 Aug 2018, 11:00 PM
#1464
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Dynamic Price Updater

mc12345678:

Just did a quick look at the source code of a page that has a text box and already see that those concerned with a text box will be happy because even if everything else is right, the text box won't get identified to update the price(s). Will need to double check the file type option as well... I had already accounted for differences in radio and checkboxes, but missed the unique info for text boxes... darnit.

The above link will still be good when that is corrected though.

Okay, have corrected the blatant typo errors (forgetting to type or just plain missing a $ before a variable, one time typing the wrong variable name (attributes_... instead of attribute_...) and copying that variable repeatedly, missing/forgetting a closing parentheses, etc...) and some logic related items. I've tested the code against each of the types of attributes supported by the base install of ZC with regards to whether to "flash" or not...

As to the occurrence when typing text in a text box that could adjust price, would still need to see about applying some sort of "lag" to the update process... If typing quickly the text remains with the timeout option, but if type one key at a time with a little bit of a pause, it is possible that "flashing" could occur...

Don't know if perhaps should consider not replacing the text with an image if the field being updated is a text field, or even possibly changing/removing the events... Ie. currently the event is 'input', but perhaps could be something that occurs at a more "individual" time period such as lose focus or be more dependent on the type of update.

For example a text field that is only based on the number of words should really only update when a word has been started and not again until a new word is started (or is removed). Whereas a character only version would be updated on a per character basis.

That said, I haven't incorporated anything specific to "free" characters/words... So even if there are such free objects, the price text will try to update.

I will shortly be merging these changes into the upcoming version 3.2.1 branch and likely will squash several of the commits so that the errors included throughout today's development will be less "open" for the final distribution.

13 Aug 2018, 10:04 AM
#1465
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Dynamic Price Updater

Im still having problems with DPU as per post:
https://www.zen-cart.com/showthread.php?70577-Dynamic-Price-Updater&p=1344422#post1344422

I'm also having issues with after adding product to the cart, the continue shopping button link is incorrect and shows - /?act=DPU_Ajax&method=dpu_update
So when clicking on continue shopping it takes me to a 404.

13 Aug 2018, 10:24 AM
#1466
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Dynamic Price Updater

Calljj:

Im still having problems with DPU as per post:
https://www.zen-cart.com/showthread.php?70577-Dynamic-Price-Updater&p=1344422#post1344422

I'm also having issues with after adding product to the cart, the continue shopping button link is incorrect and shows - /?act=DPU_Ajax&method=dpu_update
So when clicking on continue shopping it takes me to a 404.

First report of the continue shopping button acting that way, will look into what is causing that and address it. That said, regarding the price displaying as reported at the referenced post, what version of DPU is installed? Has the fix that was suggested related to webchills post been applied either as he provided it or as it was applied to the most recent modifications to the github version of the software?

13 Aug 2018, 12:15 PM
#1467
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Dynamic Price Updater

Calljj:

Im still having problems with DPU as per post:
https://www.zen-cart.com/showthread.php?70577-Dynamic-Price-Updater&p=1344422#post1344422

I'm also having issues with after adding product to the cart, the continue shopping button link is incorrect and shows - /?act=DPU_Ajax&method=dpu_update
So when clicking on continue shopping it takes me to a 404.

mc12345678:

First report of the continue shopping button acting that way, will look into what is causing that and address it. That said, regarding the price displaying as reported at the referenced post, what version of DPU is installed? Has the fix that was suggested related to webchills post been applied either as he provided it or as it was applied to the most recent modifications to the github version of the software?
Just tried using the latest version as provided on github. Had store set to not display the cart after adding product to the cart and switched to showing the cart after adding product. In both cases was not able to reproduce the issue with continuing with shopping.

Further please identify what other plugins may be installed and the "path" taken to get to the shopping cart where the continue shopping button is providing a return to address comprised of having the ajax command on the uri.

14 Aug 2018, 9:00 AM
#1468
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Dynamic Price Updater

mc12345678:

Just tried using the latest version as provided on github. Had store set to not display the cart after adding product to the cart and switched to showing the cart after adding product. In both cases was not able to reproduce the issue with continuing with shopping.

Further please identify what other plugins may be installed and the "path" taken to get to the shopping cart where the continue shopping button is providing a return to address comprised of having the ajax command on the uri.

I have ceon seo url also installed, definately related to dpu module and the zen_back_link() url function as it works fine from any other page apart from a product page.
I simply go to a product page, then click to view the shopping cart page (with a product in cart) , then the "continue shopping" button href link is "?act=DPU_Ajax&method=dpu_update"
If i switch off ceon, same issue , url is now : index.php?main_page=index&act=DPU_Ajax&method=dpu_update

14 Aug 2018, 9:02 AM
#1469
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Dynamic Price Updater

That said, regarding the price displaying as reported at the referenced post, what version of DPU is installed? Has the fix that was suggested related to webchills post been applied either as he provided it or as it was applied to the most recent modifications to the github version of the software?.

Tried webchills, no result.
Latest version of DPU, but have to keep reverting as just giving me 0.00

14 Aug 2018, 9:16 AM
#1470
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Dynamic Price Updater

Further to this, can force the error.
includes/modules/pages/product_info/jscript_dynamic_price_update.php

 // use the spans to see if there is a discount occuring up in this here house
  var test = thePrice.getElementsByTagName("span");
  var psp = false;
    var pdpt = false;

  for (var a=0,b=test.length; a<b; a++) {
      
  if (test[a].className === "normalprice") {
      pdpt = test[a];
     

Leaving like this on a sale/special/reduced priced product, that is priced by attributes (product price is zero, attributes do all the work) gives:
Price 0.00 Price 123
Price 0.00 Price 234
Price 0.00 Price 456

<h2 id="productPrices" class="productGeneral"><font size="0.5" color="#636363">Price: </font><font size="0.5" color="#636363">Price: </font><span class="normalprice">£0.00</span> <span class="productSpecialPrice"><font size="0.5" color="#636363">Price: </font>£726.75</span><span class="productPriceDiscount"><br>Save: 25% off</span> 
 </h2>

Comment out the ```
pdpt = test[a];


And gives the same (lowest priced attribute) starting price for all the different priced attributes

price 999 price 123
 price 999 price 234
price 999 price 456


My html on page is as follows:

<h2 id="productPrices" class="productGeneral"> <font size="0.5" color="#636363">Price: </font><span class="normalprice">£969.00 </span> <span class="productSpecialPrice"><font size="0.5" color="#636363">Price: </font>£951.75</span><span class="productPriceDiscount"><br>Save: 25% off</span> </h2> ```

/languages/english/extra_definitions/dynamic_price_updater.php contents:

<?php
/**
* @package Dynamic Price Updater
* @author Design75
* @version 3.0
* @licence This module is released under the GNU/GPL licence
*/

define('BOX_HEADING_DYNAMIC_PRICE_UPDATER_SIDEBOX', 'Price Breakdown'); // the heading that shows in the Updater sidebox
define('DPU_BASE_PRICE', 'Base price');

define('UPDATER_PREFIX_TEXT', '<font size="0.5" color="#636363">Price: </font>');
define('UPDATER_PREFIX_TEXT_STARTING_AT', 'Starting at: ');
define('UPDATER_PREFIX_TEXT_AT_LEAST', 'At least: ');
define('DPU_SHOW_QUANTITY_FRAME', ' (%s)');
define('DPU_SIDEBOX_QUANTITY_FRAME', ' x %s'); // how the weight is displayed in the sidebox.  Default is ' x 1'... set to '' for no display... %s is the quantity itself
define('DPU_SIDEBOX_PRICE_FRAME', ' (%s)'); // how the attribute price is displayed
define('DPU_SIDEBOX_TOTAL_FRAME', '<span class="DPUSideboxTotalText">Total: </span><span class="DPUSideboxTotalDisplay">%s</span>'); // this is how the total should be displayed.  %s is the price itself as displayed in the
define('DPU_SIDEBOX_FRAME', '<span class="DPUSideBoxName">%1$s</span>%3$s%2$s<br />'); // the template for the sidebox display.  Instructions below
/*
 *DPU_SIDEBOX_FRAME has 3 variables you can use... They are:
 * %1$s - The attribute name
 * %2$s - The quantity display
 * %3$s - The individual price display
 * You can position these anywahere around the DPU_SIDEBOX_FRAME string or even remove them to prevent them from displaying
 */
14 Aug 2018, 9:32 AM
#1471
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Dynamic Price Updater

Ok, apologies for all the responses, i'm kinda brainstorming aloud!
So it seems, that the comment out of the

pdpt = test[a];

Also has an effect on my other issue on the shopping cart page!
So if i comment out that line to stop the zeros occuring on the product page, then it affects the 'continue button' on the shopping cart page.
If i uncomment that line, all my sale items get messed up, however the 'continue button' then works fine ?!?!

I then changed the small amount of text within the 'UPDATER_PREFIX_TEXT' incase this was causing and issue, but no, the 0.00
s return.

Of note, the dpu loads far far far quicker with the

//pdpt = test[a];

in place.

When uncommented it takes 2 -3 seconds for the prices to load on screen.

21 Aug 2018, 10:07 PM
#1472
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Dynamic Price Updater

Calljj:

Further to this, can force the error.
includes/modules/pages/product_info/jscript_dynamic_price_update.php

[B] // use the spans to see if there is a discount occuring up in this here house
var test = thePrice.getElementsByTagName("span");
var psp = false;
var pdpt = false;

for (var a=0,b=test.length; a<b; a++) {

if (test[a].className === "normalprice") {
pdpt = test[a];
[/B]

> 
> Leaving like this on a sale/special/reduced priced product, that is priced by attributes (product price is zero, attributes do all the work) gives:
> Price 0.00 Price 123
> Price 0.00 Price 234
> Price 0.00 Price 456
> 
> ```
<h2 id="productPrices" class="productGeneral"><font size="0.5" color="#636363">Price: </font><font size="0.5" color="#636363">Price: </font><span class="normalprice">£0.00</span> <span class="productSpecialPrice"><font size="0.5" color="#636363">Price: </font>£726.75</span><span class="productPriceDiscount"><br>Save: 25% off</span> 
 </h2>

Comment out the ```
pdpt = test[a];

> 
> And gives the same (lowest priced attribute) starting price for all the different priced attributes
> 
> price 999 price 123
>  price 999 price 234
> price 999 price 456
> 
> 
> My html on page is as follows:
> 
> ```
<h2 id="productPrices" class="productGeneral">
<font size="0.5" color="#636363">Price: </font><span class="normalprice">£969.00 </span> <span class="productSpecialPrice"><font size="0.5" color="#636363">Price: </font>£951.75</span><span class="productPriceDiscount"><br>Save: 25% off</span> 
 </h2>

/languages/english/extra_definitions/dynamic_price_updater.php contents:

<?php /** * @package Dynamic Price Updater * @author Design75 * @version 3.0 * @licence This module is released under the GNU/GPL licence */ define('BOX_HEADING_DYNAMIC_PRICE_UPDATER_SIDEBOX', 'Price Breakdown'); // the heading that shows in the Updater sidebox define('DPU_BASE_PRICE', 'Base price'); define('UPDATER_PREFIX_TEXT', '<font size="0.5" color="#636363">Price: </font>'); define('UPDATER_PREFIX_TEXT_STARTING_AT', 'Starting at: '); define('UPDATER_PREFIX_TEXT_AT_LEAST', 'At least: '); define('DPU_SHOW_QUANTITY_FRAME', ' (%s)'); define('DPU_SIDEBOX_QUANTITY_FRAME', ' x %s'); // how the weight is displayed in the sidebox. Default is ' x 1'... set to '' for no display... %s is the quantity itself define('DPU_SIDEBOX_PRICE_FRAME', ' (%s)'); // how the attribute price is displayed define('DPU_SIDEBOX_TOTAL_FRAME', '<span class="DPUSideboxTotalText">Total: </span><span class="DPUSideboxTotalDisplay">%s</span>'); // this is how the total should be displayed. %s is the price itself as displayed in the define('DPU_SIDEBOX_FRAME', '<span class="DPUSideBoxName">%1$s</span>%3$s%2$s<br />'); // the template for the sidebox display. Instructions below /* *DPU_SIDEBOX_FRAME has 3 variables you can use... They are: * %1$s - The attribute name * %2$s - The quantity display * %3$s - The individual price display * You can position these anywahere around the DPU_SIDEBOX_FRAME string or even remove them to prevent them from displaying */ ``` I've been thinking about this issue over the last week, trying to figure out how it is possible that with a fully installed series of software that 1) The normalprice would get updated but. 2) That the price presented as an update is 0.00. Just a few minutes ago, I thought about comparing the above provided code that is currently bolded to see if there was anything obvious considering that at least recently no web page has been presented for independent review (ie. posted with the likes of mysiteDOTcom). And the thing is that I do not see a history along the master path of the software that shows this code section as presented: ``` // use the spans to see if there is a discount occuring up in this here house var test = thePrice.getElementsByTagName("span"); var psp = false; var pdpt = false; for (var a=0,b=test.length; a<b; a++) { if (test[a].className === "normalprice") { pdpt = test[a]; ``` There is some "key" code missing and if it has been relocated for some reason, that too has not been explained. The code snippet in this area should be: ``` // use the spans to see if there is a discount occuring up in this here house var test = thePrice.getElementsByTagName("span"); var psp = false; var a; var b = test.length; var pdpt = false; for (a = 0; a < b; a += 1) { if (test[a].className === "normalprice") { pdpt = test[a]; ``` The for loop had been modified 10 months ago as part of 3.2.0 and before that the if statement checking for normalprice didn't exist, so there has been some amount of editing performed. Even within the code, there are other cases of using the variable a and a similar loop performed; however, the loop does not evaluate the normalprice className. If I remember correctly that was on purpose in the event of some sort of communication failure that at least a price remained visible, but I could be wrong there throughout. I would have to look again to see if there really is a reason to not evaluate normalprice in the other situations. Regardless, there is something that has been modified from the provided files and those changes have not been explained nor presented. As such I would not be surprised that the modifications (or lack of incorporation of changes) have caused the issues observered. I'm open to trying to further investigate but am not seeing the behavior that has been described when the provided software is loaded in full as provided.
22 Aug 2018, 8:03 AM
#1473
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Dynamic Price Updater

just replaced all files from fresh donwload of 3.2
issue is exactly the same.
happy to pm url for you to see.

29 Aug 2018, 10:49 PM
#1474
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Dynamic Price Updater

Calljj:

just replaced all files from fresh donwload of 3.2
issue is exactly the same.
happy to pm url for you to see.
Not fully done with the review, but I have at least found a few things with the applicable site. Appears that the jscript_responsive_framework.php file from includes/templates/template_default/jscript is not placed in the site's template directory. This means that the old XHR style of communication is used instead of the zcJS ajax method that is more built into ZC. I also noticed that there is a javascript error on at least one of the pages. In using Facebook pixel, the price (value) of the product > 999 is pushed to the page without any escape of the comma or quotes around the value. This results in a javascript error of SCRIPT1003: Expected ':' where the content is similar to the following:

fbq('track', 'ViewContent', {
content_ids: ['1234'],
content_type: 'product',
value: 1,026.97,
currency: 'GBP'
});

Basically could be seen as:

fbq('track', 'ViewContent', {
content_ids: ['1234'],
content_type: 'product',

value: 1,
026.97,

currency: 'GBP'
});
```Based on standard formatting it would "look" like the above and appear to be missing the right side of the parameter in the second row of red.

My preliminary review so far is that there is something in this troubled store that has either modified the shopping_cart class or through observation modifies the operation. I can see that the data returned from the inside calculations at this site is indicating that a sale product has an "original" price ('preDiscPriceTotal') 
of 0.00, but I don't know what is causing that and whether it is related to changes made to attempt to adjust for tax. 

Possibly more to follow.
30 Aug 2018, 2:45 PM
#1475
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Dynamic Price Updater

mc12345678:

Possibly more to follow.

Thanks for looking.
moved the file across.
removed the comma from facebook pixel (although facebook was reading it fine through the Chrome Pixel addon checker thingy)
still no change.

13 Sep 2018, 1:18 PM
#1476
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: Dynamic Price Updater

Google reports errors 400 Dynamic Price Updater (Version Installed) 3.2.0

https://www.MYDOMAIN/ajax.php?products_id=127&cPath=13&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3110&cPath=191&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3128&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3098&cPath=191&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=2587&cPath=163&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3102&cPath=191&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=2579&cPath=163&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3105&cPath=191&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3575&cPath=163&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3950&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=39&cPath=8&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3942&cPath=15&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3932&cPath=12&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=153&cPath=255&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=357&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=354&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=2581&cPath=163&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3111&cPath=191&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3112&cPath=191&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3103&cPath=191&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3125&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3126&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3097&cPath=191&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3127&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3096&cPath=191&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3129&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3131&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=2582&cPath=163&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=2577&cPath=163&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3944&cPath=163&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3947&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3951&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=38&cPath=8&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=72&cPath=3&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=44&cPath=3&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=106&cPath=15&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=118&cPath=3&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=28&cPath=1&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=126&cPath=15&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=67&cPath=13&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=115&cPath=6&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=128&cPath=13&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3946&cPath=3&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=64&cPath=15&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=73&cPath=15&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=107&cPath=15&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=108&cPath=3&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=84&cPath=8&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=134&cPath=3&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=154&cPath=3&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=129&cPath=3&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=30&cPath=1&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3929&cPath=3&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=68&cPath=1&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=46&cPath=6&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=27&cPath=1&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=29&cPath=1&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=81&cPath=13&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=117&cPath=6&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=102&cPath=1&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=58&cPath=13&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=114&cPath=6&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=93&cPath=255&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3935&cPath=12&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3933&cPath=12&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3931&cPath=12&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3930&cPath=12&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php
https://www.MYDOMAIN/ajax.php?products_id=3122&cPath=193&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=60&cPath=18&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=100&cPath=12&number_of_uploads=0&act=DPU_Ajax&method=dpu_update
https://www.MYDOMAIN/ajax.php?products_id=3940&cPath=12&number_of_uploads=0&act=DPU_Ajax&method=dpu_update

13 Sep 2018, 1:26 PM
#1477
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Dynamic Price Updater

Well, this is expected behavior based on the code associated with ajax requested and as incorporated in ZC 1.5.6 (which has been incorporated into this version of DPU).

Essentially it has been determined that there is no value in indexing the ajax response.
(Especially when the response requires data to be posted )

13 Sep 2018, 1:33 PM
#1478
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Dynamic Price Updater

Calljj:

Thanks for looking.
moved the file across.
removed the comma from facebook pixel (although facebook was reading it fine through the Chrome Pixel addon checker thingy)
still no change.
I still have not been able to reproduce this issue in a default store that has just DPU installed, regardless of tax included or not, without a change in base price nor with a special, a sale, or both.

13 Sep 2018, 1:39 PM
#1479
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: Dynamic Price Updater

Well, so I can not use DPU anymore, or will it penalize me?

13 Sep 2018, 3:17 PM
#1480
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Dynamic Price Updater

diamond1:

Well, so I can not use DPU anymore, or will it penalize me?

a 400 error as identified in RFC 2616 is identified as:

10.4.1 400 Bad Request

 The request could not be understood by the server due to malformed    syntax. The client SHOULD NOT repeat the request without    modifications.

I would say that response is appropriate for the information needed in order to provide an appropriate response. The Official Google Webmaster Blog discusses 404 errors, which this condition is not really the issue as the "page" exists, but nothing can be done by going to just that page, being authorized does not help. And from the other side, the server isn't exactly having a problem, but it doesn't know or can't process what was provided. On a "day-to-day" operation, this has no effect, but on someone trying to develop something, it can be discouraging if 400 is the response. :)

Basically, there should be no reason to stop using software that uses ajax style calls and identifies that crawlers shouldn't be concerned with the returned content. That is unless there is something specific being returned that is intended to be the content indexed... That is a different story and would have to be handled differently.