diff --git a/models/Wishlist.php b/models/Wishlist.php index 5e1085a..08d6202 100755 --- a/models/Wishlist.php +++ b/models/Wishlist.php @@ -28,7 +28,7 @@ public static function primaryKey() { return [ - 'variant_id', + 'product_id', 'user_id', ]; } -- libgit2 0.21.4