• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Create cart rule error after add new shipping method

Bug Report
2
4
302
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mohammad hamayel last edited by 27 Apr 2022, 08:57

    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.php

    then 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

    1 Reply Last reply Reply Quote 0
    • admin
      admin last edited by 27 Apr 2022, 09:34

      @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

      M 1 Reply Last reply 27 Apr 2022, 10:14 Reply Quote 0
      • M
        mohammad hamayel @admin last edited by 27 Apr 2022, 10:14

        @admin
        thanks for your help
        yes the name was the problem

        1 Reply Last reply Reply Quote 0
        • admin
          admin last edited by 27 Apr 2022, 10:17

          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

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post