Add product into basket
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 5
- Joined: 16 Feb 2019, 09:57
Add product into basket
Hello,
I'm new to aimeos and have some issue.
I have products into my website that i'm uploading to the aimeos database from a remote server throw a csv file.
Now i want to add a product to the basket from the front end and what it does not work.
It always says "Basket empty"
This is my form :
Please can some one help?
I'm new to aimeos and have some issue.
I have products into my website that i'm uploading to the aimeos database from a remote server throw a csv file.
Now i want to add a product to the basket from the front end and what it does not work.
It always says "Basket empty"
This is my form :
Code: Select all
<form method="POST" action="{{url('/basket')}}" id="formbasket" name="formbasket">
<input type="hidden" name="_token" id="csrf-token" value="{{ Session::token() }}" />
<div class="addbasket">
<div class="input-group">
<input type="hidden" name="b_action" value="add">
<input type="hidden" name="b_prod[0][prodid]" value="{{$data['product_id']}}">
<input type="hidden" name="b_prod[0][quantity]" value="1">
<button class="btn btn-primary btn-lg" type="submit" value="">
Add to basket
</button>
</div>
</div>
</form>
-
- Posts: 5
- Joined: 16 Feb 2019, 09:57
Re: Add product into basket
Problem solved,
I had to add a categorie to each product
I had to add a categorie to each product