Search found 44 matches
- 26 Aug 2019, 07:07
- Forum: Laravel package
- Topic: Add price after pressing "add to basket" button
- Replies: 20
- Views: 7291
Re: Add price after pressing "add to basket" button
I got another error:
EDIT: the function is SetCurrencyId
Code: Select all
Call to undefined method Aimeos\MShop\Price\Item\Standard::setCurrency()
- 26 Aug 2019, 06:57
- Forum: Laravel package
- Topic: Add price after pressing "add to basket" button
- Replies: 20
- Views: 7291
Re: Add price after pressing "add to basket" button
I got this error:
EDIT: the function is createListsItem not createListItem
Code: Select all
Aimeos \ MShop \ Exception
Unable to call method "createListItem"
- 23 Aug 2019, 10:19
- Forum: Laravel package
- Topic: Add price after pressing "add to basket" button
- Replies: 20
- Views: 7291
Re: Add price after pressing "add to basket" button
Sorry I have another question: how can I clone the product and change the price of it? I have the product $params = $view->param(); $productManager = \Aimeos\MShop::create( $context, 'product' ); $item = $productManager->getItem( $params['b_prod'][0]['prodid'], ['media', 'price', 'text'] ); Now what...
- 22 Aug 2019, 13:39
- Forum: Laravel package
- Topic: Add price after pressing "add to basket" button
- Replies: 20
- Views: 7291
Re: Add price after pressing "add to basket" button
Last question: how can I change the value of a param into the decorator?
I have the array
How can I change the value of that?
I have the array
Code: Select all
$view->param( 'b_prod' );
- 22 Aug 2019, 09:51
- Forum: Laravel package
- Topic: Add price after pressing "add to basket" button
- Replies: 20
- Views: 7291
Re: Add price after pressing "add to basket" button
Thank you very much!
- 22 Aug 2019, 09:36
- Forum: Laravel package
- Topic: Add price after pressing "add to basket" button
- Replies: 20
- Views: 7291
Re: Add price after pressing "add to basket" button
If you have configurable products (with additonal options that have an additional price), you can also assign one or more config attributes with own prices to the product. Customers can then choose the options they want and the total price of the product is calculated automatically. I know that but...
- 22 Aug 2019, 09:12
- Forum: Laravel package
- Topic: Add price after pressing "add to basket" button
- Replies: 20
- Views: 7291
Re: Add price after pressing "add to basket" button
What happens if another user adds the same product but has a different price?
- 22 Aug 2019, 08:30
- Forum: Laravel package
- Topic: Add price after pressing "add to basket" button
- Replies: 20
- Views: 7291
Re: Add price after pressing "add to basket" button
Use case:
The product can have a strange type of calculation of the price that depends on external factors like the betting system or something like creation of gadgets.
The product can have a strange type of calculation of the price that depends on external factors like the betting system or something like creation of gadgets.
- 22 Aug 2019, 08:04
- Forum: Laravel package
- Topic: Form action getting url instead of route and addData to view
- Replies: 9
- Views: 11228
Re: Form action getting url instead of route and addData to view
I found another way to do all this:
- I have a form
- onchange this form will make an ajax call
- the ajax call is a laravel function
- jquery will send the new data without refreshing the page
- the laravel function will store the data I need
- I have a form
- onchange this form will make an ajax call
- the ajax call is a laravel function
- jquery will send the new data without refreshing the page
- the laravel function will store the data I need
- 22 Aug 2019, 08:01
- Forum: Laravel package
- Topic: Add price after pressing "add to basket" button
- Replies: 20
- Views: 7291
Add price after pressing "add to basket" button
Hi,
I have a product without a price. How can I add the price after pressing the "add to basket" button?
Thank you very much
I have a product without a price. How can I add the price after pressing the "add to basket" button?
Thank you very much