Commit b4b39c8e33ee6d30e9b75f3ba39dc8b723bbab97

Authored by Administrator
1 parent a3483393

big commti

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
common/modules/product/CatalogUrlManager.php
... ... @@ -37,7 +37,7 @@ class CatalogUrlManager implements UrlRuleInterface {
37 37 $old_item_name = explode('-',$paths[0] );
38 38  
39 39 if(isset($old_item_name[5]) && isset($old_item_name[5]) == 'dis' ){
40   - $sku = $old_item_name[2].'/'.$old_item_name[3].'/'.$old_item_name[4].'/'.$old_item_name[5];
  40 + $sku = $old_item_name[2].'/'.$old_item_name[3].'/'.$old_item_name[4].'_'.$old_item_name[5];
41 41 $product_variant = ProductVariant::find()->where(['sku'=>$sku])->one();
42 42 if($product_variant instanceof ProductVariant){
43 43  
... ...