Skip to content

Doesn't create product's 301 url redirect #110

Description

@papanada

When updating url_key of a product it does not create the permanent 301 redirect

$data[] = array(
        'sku' => $record["sku"],
        'product_type' => $record['is_simple'],
        'url_key' => $record["url_key"],
        'attribute_set_code' => $record["attribute_set_code"],
        'product_websites' => "base",
        'categories' => $record["categories"],
        'name' => $record["name"],
        'description' => $record["description"],
        'short_description' => $record["short_descritpion"],
        'product_online' => 1,
        'visibility' => $record['visibility']
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions