<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[issues with images and add to cart]]></title><description><![CDATA[<p dir="auto">I have been working on to migrate a website from magento2 to bagisto. Things are good but facing an issue with the image and adding products to cart. The images on the product page keeps showing the shimmer image and console is showing 404 for the images. Images loaded here are via cache and small , large etc.<br />
Another issue is with the add to cart process and add to cart button is disabled, we have the required inventory and all but still is saleable is returning false.<br />
Any guidance to fix these would be a great help.</p>
]]></description><link>https://forums.bagisto.com/topic/4273/issues-with-images-and-add-to-cart</link><generator>RSS for Node</generator><lastBuildDate>Sat, 20 Jun 2026 17:07:44 GMT</lastBuildDate><atom:link href="https://forums.bagisto.com/topic/4273.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jun 2026 10:08:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to issues with images and add to cart on Fri, 19 Jun 2026 13:13:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.bagisto.com/uid/29220">@01aviral-webkul</a> Thanks alot, these points helped to fix the issue.</p>
]]></description><link>https://forums.bagisto.com/post/14932</link><guid isPermaLink="true">https://forums.bagisto.com/post/14932</guid><dc:creator><![CDATA[samparker]]></dc:creator><pubDate>Fri, 19 Jun 2026 13:13:25 GMT</pubDate></item><item><title><![CDATA[Reply to issues with images and add to cart on Thu, 18 Jun 2026 06:38:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.bagisto.com/uid/225">@samparker</a> said in <a href="/post/14930">issues with images and add to cart</a>:</p>
<blockquote>
<p dir="auto">Already did indexing using the artisan indexer:index command but still issue persists.</p>
</blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">Both issues are generally related to incomplete product migration data rather than indexing alone.</p>
<h3>1. Product Images Showing Shimmer / 404 Errors</h3>
<p dir="auto">Please verify the following:</p>
<ul>
<li>
<p dir="auto">Check whether the original product images exist in the <code>storage/app/public/product</code> directory.</p>
</li>
<li>
<p dir="auto">Ensure image paths stored in the <code>product_images</code> table are correct and match the actual file locations.</p>
</li>
<li>
<p dir="auto">Run the storage symlink command:</p>
<pre><code class="language-bash">php artisan storage:link
</code></pre>
</li>
<li>
<p dir="auto">Clear cache and regenerate indexes:</p>
<pre><code class="language-bash">php artisan optimize:clear
php artisan indexer:index
</code></pre>
</li>
<li>
<p dir="auto">Open the image URL that returns 404 and verify whether the source image actually exists.</p>
</li>
<li>
<p dir="auto">If images were migrated directly from Magento, confirm they were copied to Bagisto's expected product image storage structure.</p>
</li>
</ul>
<h3>2. Add to Cart Disabled (<code>isSaleable()</code> Returns False)</h3>
<p dir="auto">Please check:</p>
<ul>
<li>Product status is enabled.</li>
<li>Product is assigned to the current channel.</li>
<li>Product is assigned to the current locale.</li>
<li>Product has a valid price.</li>
<li>Inventory source quantity is greater than zero.</li>
<li>The inventory source is assigned to the channel.</li>
<li>Product is not marked as out of stock.</li>
<li>Parent-child associations are correct for configurable, grouped, or bundle products.</li>
</ul>
<p dir="auto">For debugging, inspect the result of:</p>
<pre><code class="language-php">$product-&gt;haveSufficientQuantity(1);
$product-&gt;isSaleable();
$product-&gt;totalQuantity();
</code></pre>
<p dir="auto">Also verify inventory records exist in:</p>
<pre><code class="language-text">product_inventories
channel_inventories
</code></pre>
<h3>Additional Check</h3>
<p dir="auto">Since the data was migrated from Magento 2, compare a newly created Bagisto product against a migrated product. If a newly created product works correctly while migrated products do not, the issue is likely caused by missing channel, inventory, image, or attribute mapping data during migration.</p>
<p dir="auto">If you can share the Bagisto version and the exact 404 image URL along with the <code>isSaleable()</code> debug output, we can help identify the root cause more precisely.</p>
<p dir="auto">Thanks<br />
Aviral<br />
Team Bagisto</p>
]]></description><link>https://forums.bagisto.com/post/14931</link><guid isPermaLink="true">https://forums.bagisto.com/post/14931</guid><dc:creator><![CDATA[01aviral-webkul]]></dc:creator><pubDate>Thu, 18 Jun 2026 06:38:52 GMT</pubDate></item><item><title><![CDATA[Reply to issues with images and add to cart on Wed, 17 Jun 2026 10:09:38 GMT]]></title><description><![CDATA[<p dir="auto">Already did indexing using the artisan indexer:index command but still issue persists.</p>
]]></description><link>https://forums.bagisto.com/post/14930</link><guid isPermaLink="true">https://forums.bagisto.com/post/14930</guid><dc:creator><![CDATA[samparker]]></dc:creator><pubDate>Wed, 17 Jun 2026 10:09:38 GMT</pubDate></item></channel></rss>