Open nafil161 opened 9 months ago
@nafil161 Have you created Tax Zones for your store? That appears to be were this is failing after adding a product to the cart. You can set the up Tax Zones at {{APP_URL}}/hub/settings/taxes/tax-zones
As a starting point you might want to have a look here: https://github.com/lunarphp/livewire-starter-kit/blob/main/database/seeders/TaxSeeder.php
You can trigger that seeder with:
php artisan db:seed --class=TaxSeeder
Thank you for your reply. I will go through the mentioned approach
On Sun, Feb 11, 2024, 2:12 PM Eugene van der Merwe @.***> wrote:
As a starting point you might want to have a look here:
https://github.com/lunarphp/livewire-starter-kit/blob/main/database/seeders/TaxSeeder.php
You can trigger that seeder with:
php artisan db:seed --class=TaxSeeder
— Reply to this email directly, view it on GitHub https://github.com/lunarphp/livewire-starter-kit/issues/76#issuecomment-1937475958, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGB5VPOX6KIKLEEDPBG3LFDYTB77BAVCNFSM6AAAAAA55CWOOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGQ3TKOJVHA . You are receiving this because you were mentioned.Message ID: @.***>
When attempting to add an item to the cart in the frontend, I encounter an error message that says, "Trying to access the 'id' property on a null object."