I am new In Magento and I unable to modify a Shopping Cart row item with option.
I have added new html "column" in here named "Stock":
app/code/XXXX/YYYY/view/frontend/templates/cart/form.phtml
<thead>
<tr>
<th class="col item" scope="col"><span><?= /* @escapeNotVerified */ __('Nama Product') ?></span></th>
<th class="col stock" scope="col"><span><?= /* @escapeNotVerified */ __('Stock') ?></span></th>
<th class="col price" scope="col"><span><?= /* @escapeNotVerified */ __('Harga Satuan') ?></span></th>
<th class="col qty" scope="col"><span><?= /* @escapeNotVerified */ __('Jumlah') ?></span></th>
<th class="col subtotal" scope="col"><span><?= /* @escapeNotVerified */ __('Subtotal') ?></span></th>
</tr>
</thead>
And here is my app/code/XXXX/YYYY/view/frontend/templates/cart/item/default.phtml
<td class="col">
Siap Kirim
</td>
And here is the result.
look, "Bess Yoga Short" does not having a "Stock" column.
Now I will try to set this as empty file app/code/XXXX/YYYY/view/frontend/templates/cart/item/default.phtml and here is the result.
Yeah the result is the product with name "Bess Yoga Short" is still showing and it is why it ignores all changes in default.phtml.
My question is how to add column to the shopping cart table for a product with and extra option? it seems not using default.phtml as its row layout.
Any help regarding this would be very-very appreciated.