how to load product without ajax, directly
-
this time i notice all products load via ajax, and google can not read them , how to load using db directly and readable via search engine?
-
Hello @gauravjain1
In Bagisto, products often load via AJAX, which Google can’t always crawl. To make them SEO-friendly, render the first batch of products directly from the database in Blade (using Eloquent/Repositories) so the HTML is visible to search engines, and keep AJAX only for filters and sorting. Using Laravel’s pagination (?page=2, ?page=3) also ensures products are crawlable. This way, Google can index your products while users still enjoy a smooth browsing experience.
Regards