Post by Cue4cheap » Sun May 25, 2014 12:30 am

The subject says it... This would be a GREAT feature. I just got 'locked' by one of my wholesalers because they did a price update that I never received. This caused us to be below their advertised price and they refused to sell until we corrected a lot of products.
My main wholesaler does provide a update feed for quantity and price (based on MPN) and if I could get this feed sent to me by them, and then be able to update using some sort of extension it would be fantastic.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by Cue4cheap » Sun May 25, 2014 6:09 am

I found one for quantity updates that hasn't been updated in a long while.
http://www.opencart.com/index.php?route ... sion_id=43

I have been able to adapt it to opencart version 1.5.6.

I will update (read hack it) to be able to function properly and with VQMod for updating quantities and share it here.
I WILL NOT promise it will work for everyone, or that it will not blow up your site, but it will work for quantity updates.


I'll have to see about price updates next.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by byens » Sun May 25, 2014 9:03 am


Selling Kristik - Jasa Foto Aura - Kapas Vapor - supplier baju anak -


Active Member

Posts

Joined
Sat Dec 11, 2010 12:29 pm
Location - Surabaya

Post by Cue4cheap » Sun May 25, 2014 11:59 am

Thanks I did see that one, it does not work for what I am looking for. The place I see that one falls short is that it has to have multiple human interactions for the updates. What I was looking for is to take the feed that my wholesaler offered to send to us and do a blanket update.
I am pretty close to modifying the one I linked to and getting it to work.

I should have it uploaded for people to use pretty soon (in a week at most).

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by Cue4cheap » Mon May 26, 2014 1:11 am

Okay... It is online.

http://www.opencart.com/index.php?route ... n_id=17282
Thanks goes to Pete for his original module as it made the update pretty quick.

I don't guarantee anything but it worked perfectly on my site. If you use it, and it works on another version of opencart, PLEASE let me know so I can update the list of what versions it works with.

It is based on SKU or Model only, but since we use the MPN as the SKU, this works for us. If you need something otehr then model or SKU then you'll need to adapt it for your use.

I hope it works for you and has value to you.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by GIMBU.EU » Sat May 31, 2014 5:00 am

"2. Set user group permissions for tool/inventory_update from within the admin configuration user menu."
I have 644 set.
But I get the message:
"You do not have permission to access this page, please contact your system administrator"
Opencart Version : 1.5.6.4_rc
PHP Version 5.3.28
please help

Newbie

Posts

Joined
Sat May 31, 2014 4:20 am

Post by Cue4cheap » Sat May 31, 2014 8:07 am

You set those in the Admin of your store, not your file permissions.
Go into Admin --> system --> Users --> User groups. Select the user group you log into admin and click "edit". Then set the user group permission for the tool/inventory_update by clicking on the checkboxes for the access and modify permissions.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by labeshops » Sat May 31, 2014 7:23 pm

Thank you as I have been trying to figure out how to do this too.

One question, how does it handle products with different sizes? My clothing manufacturer for instance has different skus and upcs for each size/color. I am using options boost extension so am putting in the sku variants for each size. Will it update them properly?

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by Cue4cheap » Sat May 31, 2014 10:35 pm

Sorry Labeshops, this doesn't touch the database table that deals with options. It just deals with the "product" table in the database only.
The problem is, the product_option_value table is where the option price resides and that table by itself doesn't include either the model or SKU just the product_id so it would beyond the scope of this simple extension to be able to cross reference the product_id to model or SKU then to the option_id for that product.

It would be nice but it would be much more difficult and outside my abilities.
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by labeshops » Sat May 31, 2014 10:44 pm

okay thanks. I'll keep trying to figure this out since all the products I can get inventory feeds for have options :P

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by GIMBU.EU » Sun Jun 01, 2014 4:32 am

Thank you very much for the tip. Cue4cheap you are my Savior :) It works excellent. This IS a GREAT feature.
I have 4500 products and the file has a 82KB. This extension is limited to 100KB file. More products can be divided so that the file does not exceed 100KB. On the occasion of this extension shows which new products not yet in the store. The file name must be lowercase

I need a extension that will rapidly introduce new products to the store.
Csv file, which will give all the necessary information into the database. Extension import/export tool does not work with a large number of products. Anyone seen it?
GiMBU.EU

Newbie

Posts

Joined
Sat May 31, 2014 4:20 am

Post by Cue4cheap » Sun Jun 01, 2014 7:16 am

GIMBU.EU,

Never used, not mine, no history with it, but it isn't too expensive maybe: http://www.opencart.com/index.php?route ... ASC&page=5

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by GIMBU.EU » Wed Jun 04, 2014 5:27 am

I find one bug: when I change quantity of product to 0 (zero), the database still showing the old amount. Any other value (quantity) changes the base.
Can you fix it?
GIMBU.EU

Newbie

Posts

Joined
Sat May 31, 2014 4:20 am

Post by Cue4cheap » Wed Jun 04, 2014 10:40 am

Yup look for an update soon (in about 10 minutes).

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by GIMBU.EU » Wed Jun 04, 2014 4:24 pm

Now it works PERFECTLY.
Thank you for the rapid response.
GiMBU.EU

Newbie

Posts

Joined
Sat May 31, 2014 4:20 am

Post by Cue4cheap » Wed Jun 04, 2014 8:44 pm

No worries. I should have tested all avenues before putting out that 0.5 version. But thank you for finding that as it also helped me correct a wrong 'if' statement.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by Cue4cheap » Mon Jul 14, 2014 4:23 am

Version update:
Version 0.7 2 Changes:

1). Changed to it can have less then all three fields required. The problem reported was people not having a price field and using excel to edit. This would cause the file to have:
floor1,12
(notice no 2nd comma). Without the 2nd comma the script would kick an error about not enough fields.

2). A second fix; If someone enclosed the fields in quotes “” the script would not know what to do with it. Now it strips the quotes.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am
Who is online

Users browsing this forum: No registered users and 2 guests