Jump to content

babyfryd

Members
  • Content count

    5
  • Joined

  • Last visited

Posts posted by babyfryd


  1. Hi'

     

    What a great attribution :)

     

    I have one problem though; According to Google ( https://support.google.com/merchants/answer/1347943 ) the feed for Apparel now has to include one line (item) for each size or color of an item:

     

    You are required to submit one item per variant combination. For example, if a t-shirt is offered in 4 different colors and each color is available in 5 different sizes, you must submit a total of 20 items.

     

    The ‘Item group ID’ attribute is different from the ‘ID’ attribute. An ‘Item group ID’ attribute will have common values for a group of variants whereas the ‘ID’ attribute should have unique values across a group of variants and for all other items, as well.

     

    Has anyone found a solution for this?

     

    I am currently using this feedmachine configuration: http://addons.oscommerce.com/info/7130

     

    But this just lists the sizes as comma-separated "1y, 2y, 3y, 4y" in a size column on the spreadsheet (it should have been made as 4 lines in the spreadsheet as 4 induvidual products)

     

    Kind regards,

    Mikael


  2. I looked into this abit more. And it does update as it should. The problem is that if you continue and hit the "Preview" button the value in the field "Products Quantity:" over-write the the value AJAX Attribute Manager set in 'products_quantity'.

     

    So it would be nice with a solution for this.

    Hi Redrum

     

    I had the same problem, and removed the 'products_quantity' from the $sql_data_array.

     

    In my categories.php (heavily modified) it's around line 258.

     

    In admin/categories.php

     

    replace:

     

    	  $sql_data_array = array('products_quantity' => tep_db_prepare_input($HTTP_POST_VARS['products_quantity']),
    							  'products_model' => tep_db_prepare_input($HTTP_POST_VARS['products_model']),
    							  'products_price' => tep_db_prepare_input($HTTP_POST_VARS['products_price']),
    							  'products_date_available' => $products_date_available,
    							  'products_weight' => tep_db_prepare_input($HTTP_POST_VARS['products_weight']),
    							  'products_status' => tep_db_prepare_input($HTTP_POST_VARS['products_status']),
    							  'products_tax_class_id' => tep_db_prepare_input($HTTP_POST_VARS['products_tax_class_id']),
    							  'manufacturers_id' => tep_db_prepare_input($HTTP_POST_VARS['manufacturers_id']));
    

     

    with

     

    $sql_data_array = array('products_model' => tep_db_prepare_input($HTTP_POST_VARS['products_model']),
    							  'products_price' => tep_db_prepare_input($HTTP_POST_VARS['products_price']),
    							  'products_date_available' => $products_date_available,
    							  'products_weight' => tep_db_prepare_input($HTTP_POST_VARS['products_weight']),
    							  'products_status' => tep_db_prepare_input($HTTP_POST_VARS['products_status']),
    							  'products_tax_class_id' => tep_db_prepare_input($HTTP_POST_VARS['products_tax_class_id']),
    							  'manufacturers_id' => tep_db_prepare_input($HTTP_POST_VARS['manufacturers_id']));
    

     

    It works for me!

     

    But please be aware that I'm a PHP newbie, so it might cause problems somewhere else wacko.png

     

    Kind regards,

    Mikael

×