We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
При повторном добавлении товара в корзину с тем же модификатором добавляется новая запись, вместо увеличения количества
Почему-то в /shop/cart/CartItem.php ID модификатора приходит строкой... Вылечил:
public function getId(): string { return md5(serialize([(int)$this->product->id, (int)$this->modificationId])); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
При повторном добавлении товара в корзину с тем же модификатором добавляется новая запись, вместо увеличения количества
Почему-то в /shop/cart/CartItem.php ID модификатора приходит строкой...
Вылечил:
The text was updated successfully, but these errors were encountered: