Skip to content

Commit

Permalink
Fix adding configurable product to cart (rapidez#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobWez98 authored Apr 2, 2024
1 parent 353fecb commit a8a3990
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
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

0 comments on commit a8a3990

Please sign in to comment.