Skip to content
New issue

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

Fix adding configurable product to cart #461

Merged
merged 2 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/js/components/Product/AddToCart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default {
config.queries.cart +
` } user_errors { code message } } }`,
{
sku: this.product.sku,
sku: this.simpleProduct.sku,
cartId: mask.value,
quantity: this.qty,
selected_options: this.selectedOptions,
Expand Down
16 changes: 8 additions & 8 deletions src/Facades/Rapidez.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
use Illuminate\Support\Facades\Facade;

/**
* @method static self addFallbackRoute($action, $position = 9999)
* @method static self removeFallbackRoute($action)
* @method static self addFallbackRoute($action, $position = 9999)
* @method static self removeFallbackRoute($action)
* @method static Collection getAllFallbackRoutes()
* @method static ?string config(string $path, $default = null, bool $sensitive = false)
* @method static ?string content($content)
* @method static object fancyMagentoSyntaxDecoder(string $encodedString)
* @method static array getStores($storeId = null)
* @method static array getStore($storeId)
* @method static void setStore($store)
* @method static ?string config(string $path, $default = null, bool $sensitive = false)
* @method static ?string content($content)
* @method static object fancyMagentoSyntaxDecoder(string $encodedString)
* @method static array getStores($storeId = null)
* @method static array getStore($storeId)
* @method static void setStore($store)
*
* @see \Rapidez\Core\Rapidez
*/
Expand Down