WooZone Amazon price update not working Fix (Solution 2017)

/, Woozone, Wordpress/WooZone Amazon price update not working Fix (Solution 2017)

Woozone (Products synchronization) Price Update Solution

This is my solution for Woozone Products synchronization problem fix

The code will click on “Sync Now” Button for each product in the List
You can delete already updated products (for this month for example August)

Woozone price update does not work anymore for me, so I have made this code to automatically update over 2000 products.

Last Update 15.12.2017

IMPORTANT : must  , so the page does not refresh.

Now the code checks for errors and goes to the next pages.

Now it also updates the variations !

Please choose 5 products per page.

Instructions (javascript code)

1. Open the link in Chrome : https://…./wp-admin/admin.php?page=WooZone_synclog
2. Select 500 product per page (MAX , more will break the website)
3. Press F12
4. Put the code in the console and press enter

var seconds = 10;
var products = document.getElementsByClassName("WooZone-sync-table-row ");
var nextPage = document.getElementsByClassName("next-page WooZone-jump-page");
function startUpdate(i) {
setTimeout(function() { update(i) }, 1000 * seconds);
function update(i) {
button = products[i].getElementsByTagName("button");
console.log(i+1 + " updated");
if (i <= products.length) {
function goToNextPage(){
console.log("Products updated ! Going to the next page.");
currentPage = document.getElementsByClassName("current-page");
totalPages = document.getElementsByClassName("total-pages");
if(currentPage[0].value < parseInt(totalPages[0].innerText)){
setTimeout(function() {
products = document.getElementsByClassName("WooZone-sync-table-row ");
console.log("Starting to update products on page : " + currentPage[0].value);
}, 10000);
function checkNotUpdatedProducts(){
errorsIndex = [];
checkProducts = document.getElementsByClassName("WooZone-row-loading-marker");
if (checkProducts[i].style.display != 'none') {
errorsIndex.push(document.getElementsByClassName("WooZone-sync-table-row ")[i]);
products = errorsIndex;
if(products.length > 0){
console.log("Some products are not updated, fixing this now.");
function openMinusVariations(){
var minusVariations = document.getElementsByClassName("wz-show-variations sign-minus");
Array.from(minusVariations).forEach(function(element) {
setTimeout(function() {element.click()}, 1000);
setTimeout(function() {products = document.getElementsByClassName("WooZone-sync-table-row ");}, 8000);
function openPlusVariations(){
var plusVariations = document.getElementsByClassName("wz-show-variations sign-plus");
Array.from(plusVariations).forEach(function(element) {
setTimeout(function() {element.click()}, 1000);
setTimeout(function() {products = document.getElementsByClassName("WooZone-sync-table-row ");}, 8000);

“I’ve updated WooZone and I’m having problems with the Synchronization module”
The basic functionalty of WooZone is to let you import products from Amazon into your WordPress + WooCommerce website.
But if the synchronization module for the price update is not working , you will have issues with Amazon putting at risk your account, because you are showing wrong product prices on your affiliated website.

Update : Another solution is to run WordPress and WooZone from localhost

By | 2017-12-15T20:23:08+00:00 August 29th, 2017|13 Comments


  1. AndreiW August 29, 2017 at 7:35 pm - Reply

    Life saver,thank you amigo!

  2. ChrisV August 31, 2017 at 6:48 am - Reply

    Hi Adrian,

    Thanks a lot, for a really neat solution to the sync problem. I followed the instructions and placed the code in the console and hit enter. It paused for a while and then returned this below the script:

    VM2830:16 0
    VM2830:22 0 deleted
    VM2830:16 1
    VM2830:22 1 deleted
    VM2830:16 2
    VM2830:22 2 deleted

    I have three Amazon products on my site with several variations each. When I hit enter, the Sync log didn’t show any syncs had been performed? What detailed settings do you recommend? I stopped the auto re-load but should I disable the WP_CRON too?
    Also do I need to manually change the date in this script each month?
    I’m not sure what is happening here, could you explain it a bit more for me please?

    • adrianweb August 31, 2017 at 5:35 pm - Reply

      1. You have only 3 products ? How many Sync Now buttons do you see in the page ?
      2. The log says “deleted” because i used this code to update the products that haven’t been updated from July.
      3. You don’t have to make any settings

      To update all your products use this code :

      var seconds = 10;
      var rows = document.getElementsByClassName("WooZone-sync-table-row ");
      var table = document.getElementsByTagName("table")[1];
      var buttonRow = null;
      function initiateTimeOut(i) {
        setTimeout(function() { update(i) }, 1000 * seconds);
      function update(i) {
                  button = rows[i].getElementsByTagName("button");
                  console.log(i + " updated");
          if (i <= rows.length) {

      For more you can contact me on Facebook, I will help you.

  3. JeffS September 8, 2017 at 8:36 pm - Reply

    Seems to have worked – thanks!

  4. Melissa September 15, 2017 at 9:11 pm - Reply

    WOW awesome it really worked, thank you! i had no idea i could run a script like that in crhome console, pretty neat! Saved me from scrapping woocommerce just because of amazon affiliate pricing issue!!

  5. ebk October 9, 2017 at 4:53 pm - Reply

    thank you. is this code will sync all products prices automatically each day or i should enter it everytime i want to update prices

  6. Will Hull November 6, 2017 at 1:48 am - Reply

    Hey there, I found a link to this post on WP Eagle (at http://www.wpeagle.com/forums/topic/woozone-product-price-difference/). I’d like to know if you have a modification of this script to expand all variations while it is syncronizing? Once I start it, it only updates the main level and doesn’t expand the variations inside of the main level unless they are already expanded before running the script from the console?

    Futher, is there a place we can put this script that will run this script on a recurrence? E.g. could we paste this code into a file, and set it to run as a custom cron job? Or does this only work if you are logged in and viewing the syncronization screen and inputting it into your console to execute? I found you can do this with Google Analytics to leverage browser caching by hosting a file locally (https://community.keycdn.com/t/hosting-google-analytics-locally/437), but I wanted to see if the script above can be used as a custom cron job outside of the one supplied by Woozone to make it automatically update your products on a recurrence? I have over 3,000 products on my site and 7 pages if I expand the syncronization log to 500 products. It makes for a long day of expanding each product that has variations and then running the script on each of the 7 pages.

    Thoughts on making this happen? Great script by the way, works like a charm when logged in and on the page.

  7. adrianweb November 18, 2017 at 4:13 pm - Reply

    Hi , running wordpress on localhost will solve all the problems : https://adrianweb.xyz/how-to-run-wordpress-on-localhost-with-remote-database/

  8. Will Hull November 26, 2017 at 5:02 am - Reply

    Thanks for the reply. I was more hoping for a way to expand the variations through your already great working script so that I don’t have to expand every product before running your script. I have VPS hosting, so, this would just keep it on the server rather than through a remote application. Is there a way, through your script it can expand variations as it goes?


    • adrianweb November 28, 2017 at 8:01 pm - Reply

      I don’t have products with variations right now, but it can be done. If you send me the html where you expand the products , i will change the code to make it work, for my products i don’t see any “expand product” button.

  9. adrianweb December 2, 2017 at 9:06 pm - Reply

    I have made a better code for product updates , now it checks for errors and goes to next pages.

  10. Andrei December 3, 2017 at 5:06 pm - Reply

    Amazing work as always..thank you again amigo!

  11. adrianweb December 13, 2017 at 9:06 pm - Reply

    I just posted a new version that updates the variations.

Leave A Comment