Announcement

Collapse
No announcement yet.

custom field or product sku in the page url

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    custom field or product sku in the page url

    I am currently using htaccess file and set my short links like below

    Code:
    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^product/([^/.]+).html$ /merchant.mvc?Screen=PROD&Product_code=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^category/([^/.]+).html$ /merchant.mvc?Screen=CTGY&Category_code=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^product/([^/]+)/([^/.]+).html$ /merchant.mvc?Screen=PROD&Category_code=$1&Product_code=$2 [L]
    
    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^([^/.]+).html$ /merchant.mvc?Screen=$1 [L]
    works fine, what I want to know is instead product_code is it possible to use product sku or custom product field in the url

    Thanks
    Tammu
    Keyboard Not Found..... Press F1 to continue

    #2
    Re: custom field or product sku in the page url

    The reason I am asking this because I am currently using product code like below

    for example:
    Product Name: 640Gb Hard Drive
    Product Code: 640gb_hard_drive
    Product Sku: HD640GB

    so my url will be http://mysite.com/product/640gb_hard_drive.html

    which works great for me but when I go to Manage Orders screen to process orders
    I want to see the Product Sku (HD640GB) but it only shows the Product Code

    How can I show Product Sku in the Manage Orders Screen or the Orders file when I export the orders

    Or the case I explained in my initial post

    Thanks
    Tammu
    Keyboard Not Found..... Press F1 to continue

    Comment

    Working...
    X