Create cart rule error after add new shipping method
-
I created a new shipping method and it works well. it appears for both admin and customers. i can enable/disable it. when I go to create a new cart rule it gives me this error
Target class [WebKul\AramexShipping\Carriers\AramexShipping] does not exist. (View: /var/www/html/bagisto/packages/Webkul/Admin/src/Resources/views/marketing/promotions/cart-rules/create.blade.php)
Previous exceptions
Target class [WebKul\AramexShipping\Carriers\AramexShipping] does not exist. (0)
Class WebKul\AramexShipping\Carriers\AramexShipping does not exist (-1)
the class is exists under Carriers directory and i defined the services providers in config/app.php, bootstrap/cache/config.php
and in vendor/composer/autoload_classmap.php and autoload_static.phpthen i run these commands
"php artisan config:clear"
"sudo php artisan config:cache"
"sudo php artisan optimize"
"composer dump-autoload"please you help !!
thanks in advance
-
@mohammad-hamayel said in Create cart rule error after add new shipping method:
WebKul
Hi @mohammad-hamayel
As I can see Your directory name is WebKul it should be Webkul -
@admin
thanks for your help
yes the name was the problem -
Hi There,
Thanks for the update.
Also, if you like our support, you may give us the review here:- https://www.trustpilot.com/review/bagisto.com
That would be grateful for us.
Thanks & Regards,
Bagisto Team