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
    275
    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

      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

        @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 Reply Quote 0
        • M
          mohammad hamayel @admin last edited by

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

          1 Reply Last reply Reply Quote 0
          • admin
            admin last edited by

            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
            • First post
              Last post