WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
SKU Permalink (4 posts)

  1. chaosratt
    Member
    Posted 1 year ago #

    Is there a way to make an item's permalink based off its SKU?
    Idealy I'd love for it to be example.com/ABC123 (Assuming 'ABC123' is the SKU), but I think it has to have '/shop/' prefixed onto it.

    So far I've tried:
    /shop/%sku%/
    /shop/%product_sku%/
    Which do not work. I cannot seem to find a listing of all Woocommerce's available tags (something like wordpress').

    Anyone know of a way to make this work?

    http://wordpress.org/extend/plugins/woocommerce/

  2. IgniteWoo
    Member
    Posted 1 year ago #

    It looks to me like you'd need some custom rewrite rules for your site, in which case a developer could create that code for you.

  3. chaosratt
    Member
    Posted 1 year ago #

    I've just gone back and quick edited each post's slug to be the same as the SKU. Would be awesome if that could be made automatic, but I doubt I can get approval to hire a dev for something that only adds 10 seconds onto the creation of each listing.

  4. IgniteWoo
    Member
    Posted 1 year ago #

    Your approach is great if you don't have loads of products. Glad you found an easy fix.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic