Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ortoDev opened this issue Oct 29, 2020 · 0 comments
Open

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

ortoDev opened this issue Oct 29, 2020 · 0 comments

Comments

@ortoDev
Copy link

ortoDev commented Oct 29, 2020

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']
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant