Martvill Action Hooks Reference

# Query: (do_action\\(|@doAction\\(|apply_filters) # Flags: RegExp # Excluding: vendor, HOOKS.md, storage 108 action hooks app\Filters\Filter.php: 74: apply_filters(“before_{$fullClassName}”, $this->query); 88: apply_filters(“after_{$fullClassName}”, $this->query); app\Http\Controllers\BatchController.php: 46: do_action(‘before_batch_delete’); 53: do_action(‘after_batch_delete’); 73: return apply_filters(‘batch_delete_response’, $this->response); app\Http\Controllers\Controller.php: 153: $filteredResult = apply_filters($filterTag, $method, $parameters); app\Http\Controllers\VendorController.php: 83: do_action(‘before_vendor_create’); 115: do_action(‘after_vendor_create’, [’vendor_id’ => $vendorId, ‘user’ => $user]); app\Http\Controllers\Vendor\ExportController.php: 25: do_action(‘before_vendor_export_product’); app\Http\Controllers\Vendor\ImportController.php: 20: do_action(‘before_vendor_import_product’); 34: […]

Read More

Creating Menu Items through Plugin

To create a menu, you can use the ‘addMenuItem‘ helper in the MenuItemsTableSeeder run method. The ‘addMenuItem‘ helper takes three parameters. The first one is for the panel, the second one is for the menu name, and the third one is for an array. For the first parameter, you can provide the panel name like […]

Read More

Plugin or Addon as Payment Gateway

Introduction This comprehensive guide aims to provide a detailed and descriptive walkthrough of the process involved in integrating a payment gateway into the Martvill platform using Laravel. By following these meticulous steps, you will be able to seamlessly enable payment processing for your online store. Step 1: Creating a Laravel Module The integration process begins […]

Read More