Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] osc2amazon - oscommerce to amazon synchronization


hozone

Recommended Posts

  • 4 weeks later...
  • 1 month later...

Hello

 

I followed instructions and got my API credentials.  Been trying to use it, but there is no local products to import. Do I have to export to a physical list cdv and then transform it to text and then put it in the required folder?

 

Or should it create the list by itself?

 

post-259857-0-66934000-1424145544_thumb.png

Link to comment
Share on other sites

HEllo. Thanks for the fast response. I ran that php "admin/amazon_addproducts.php" and got this

 

amazon Add Item pixel_trans.gif1054 - Unknown column 'p.products_ean' in 'field list'

select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_ean, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from products p, products_description pd where p.products_status = '1' and p.products_id = '0' and pd.products_id = p.products_id and pd.language_id = '3'

[TEP STOP]
Link to comment
Share on other sites

I have the same issue as abelux. A database error. If I delete that reference then the error goes away. However my amazon_addproducts.php page is just an empty screen. There is nothing displaying that would allow me to add a product. Only the header amazon Add Products and my admin menu in the left column.

 

In looking at the code I noticed this line: $amazonfile = "../admin/amazon_list.txt";

This txt file was not part of the contribution and there were no instructions stating that we needed to create this file.

 

Also, there is this reference in the .config.inc file: $amazon_viewlink = "http://www.amazon.it/gp/product/";

This appears to point to an Italian Amazon link. Are we supposed to modify this? If so what are we supposed to enter here?

Link to comment
Share on other sites

@@abelux
yes, i'm sorry but i forget to add to mention that products_ean columns has to be added to the table.

 

@@AdmiralRedBeard

yes, of course you need to change the amazon viewlink

amazon_list.txt it should be created when you add a product from the crontribution to amazon.

osCommerce Italia support: http://www.oscommerceitalia.com

Link to comment
Share on other sites

Thank you hOZONE, for your reply. I noticed that after I posted that the Add to Amazon button appears when I go to edit my individual products.

 

For the viewlink, what is that function? Is that where the products go when we add them to Amazon? Where do we get that link value?

 

ARB

 

P.S. for anyone that is curious, EAN is similar to a UPC code or a barcode that identifies your products. There are a couple of contributions out there that will supply your products with this code. I am in the process of adding one to my v2.3.4 store.

Link to comment
Share on other sites

@@abelux

yes, i'm sorry but i forget to add to mention that products_ean columns has to be added to the table.

 

Hello. Thanks for the fast response again.  How do I add  products_ean columns to the table?  To what table?  Actually I have a column in my product db which already has san numbers.  Sorry I understand coding but I´m not a master.  Thanks for the big help.

Link to comment
Share on other sites

When I try to add a product, I am getting this error:

1146 - Table '951263_osc.products_stock' doesn't exist

select products_stock_quantity as products_quantity from products_stock where products_id = '37' and products_stock_attributes = ''

 

I do not have a products_stock database and the supplied sql had no mention of it either. What am I missing?

Link to comment
Share on other sites

products_ean columns has to be added to the table products

For how to add, use phpmyadmin or plain mysql.

Hozone. I did ran the  SQL file that comes in your package since I installed it. The SQL went through without errors. This should have added the column right? If it had, then what might be the problem?

Edited by abelux
Link to comment
Share on other sites

Hozone.  I changed in my DB the name of my pre existing column  "ean_code" to "products_ean". Then I ran admin/amazon_addproducts.php.

 

​It showed no errors, but also did nothing. Then I clicked on "update amazon list" and it says "write ok".  I went into amazon seller central and there is no product created.

Link to comment
Share on other sites

I´ve got the right mws on .config.inc.php since the beginning. Also got the right Market ID, although for my country it has the suffix  "771770".  So If I add it with a comma after the market place ID, then I get no connection to amazon. I was told by Amazon that I needed to include this suffix in order to reach Amazon Mexico.  So how do I put that in then?

 

Like if i put the suffix then when I click on Update Amazon List i get 

amazon Sync Items pixel_trans.gif updating list...
step 1/3
RequestReport error

Thanks very much

Edited by abelux
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...