Laravel 8 E-Commerce - Add Product To Wishlist
HTML-код
- Опубликовано: 28 сен 2024
- In this video I will talk about Add Product To Wishlist.
TOPIC DISCUSSED:
Add Product To Wishlist
Showing the no of products on top of the page
Your Queries -
1.How to add product to wishlist in laravel 8 ecommerce?
2.How to show no of items of wishlist in laravel 8 ecommerce?
3.What are the steps for adding product to the wishlist in laravel 8 ecommerce?
Template Url:
github.com/sur...
FOLLOW SURFSIDE MEDIA:
/ surfsidem
/ mediasurfside
github.com/sur...
/ surfsidemedia
#laravel #laravel8 #laravel8x
sir when i use Cart::instance, The 'Add to cart' and 'Add to wishlist' not working. please solve.....
There is a problem with category selection. It just stays for a second then disappears.
Great content ever!!! 😀
Soooooooooo helpful, thank you!
Hi, How can I get in touch with you?
Can you please tell me the meaning of instance?
when i add instance it's not working but if i remove it it's work successfully why i have this problem
Any solution?
same problem here
what you in a video like that I am writing, but no item showing in wishlit
why the are not showing to me
Amazing
Thank you
شكرا لك على الشرح الرائع
thank you,
The "Add To Cart" button in the product details section does not work after following the steps in this video, but if the "Add To Cart" button works in the product list in ¨Shop¨, someone knows what is this due?
Can you resolve the problem? I need help
Replace the first line of the store function in DetailsComponent.php from:
Cart::add($product_id, $product_name, $this->qty, $product_price) -> associate('App\Models\Product');
to
Cart::instance('cart')->add($product_id, $product_name, $this->qty, $product_price) -> associate('App\Models\Product');
I hope it helps you out!
Amazing
Thank you....
when I click on the heart this error appears
"InvalidArgumentException
Please supply a valid price. "
I don't know where I went wrong ...
I get the same thing!!
Solved!! I missed the '1' in the ->add function. Should be this:
public function addToWishList($product_id, $product_name, $product_price)
{
Cart::instance('wishlist')->add($product_id, $product_name, 1, $product_price)->associate('App\Models\Product');
}
@@ryansacks2178 could you help me, I do not get the declared style for the heart, it is in small size and blue color under the add to cart button.
Hi. I love ur videos, maybe can do details sale for admin, save datas after check-out button in cart page.
Wishlist is clearing after session stop. Why we not write to database wishlist items for show subsequent entries
sir please add payment integration features on this ecommerce project that makes very awesome
how can be relod base template when any change component page
Really waiting to see how you will handle Quick view too. Fantastic.
can you do varrinent products
Thank you! Sir
Amazing.
Hi, How can I get in touch with you?
By email.