This commit is contained in:
Prashant Singh 2019-08-20 13:31:59 +05:30
parent 0ea994502d
commit 8cf6c41fc5
2 changed files with 5 additions and 4 deletions

View File

@ -674,7 +674,7 @@ return [
],
'sliders' => [
'title' => 'Title',
'title' => 'Sliders',
'add-title' => 'Create Slider',
'edit-title' => 'Edit Slider',
'save-btn-title' => 'Save Slider',
@ -850,6 +850,7 @@ return [
'rule-desc' => 'Enter Rule Description',
'convert-x-note' => 'If this section is left empty, then rule will get applied to all the products in the cart.',
'declut' => 'Declutter Rules',
'processing-done' => 'Rules processing done',
'declut-success' => 'Catalog rules decluttering successful',
'declut-failure' => 'Catalog rules decluttering failed',
'add-attr-condition' => 'Add Attribute Condition',

View File

@ -14,8 +14,8 @@ use Webkul\Discount\Helpers\Catalog\Apply;
/**
* CatalogRule controller
*
* @author Prashant Singh <prashant.singh852@webkul.com> @prashant-webkul
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
* @author Prashant Singh <prashant.singh852@webkul.com> @prashant-webkul
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
*/
class CatalogRuleController extends Controller
{
@ -359,7 +359,7 @@ class CatalogRuleController extends Controller
{
$this->sale->apply();
session()->flash('success', 'Rules processing done');
session()->flash('success', trans('admin::app.promotion.processing-done'));
return redirect()->route('admin.catalog-rule.index');
}