Merge branch 'bagisto:master' into downloadable-customer-panel-ui-issue

This commit is contained in:
Deepak Singh Gusain 2022-02-02 17:01:25 +05:30 committed by GitHub
commit 811dfebec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
29 changed files with 378 additions and 214 deletions

View File

@ -37,8 +37,18 @@ class CustomerDataGrid extends DataGrid
{
$queryBuilder = DB::table('customers')
->leftJoin('customer_groups', 'customers.customer_group_id', '=', 'customer_groups.id')
->addSelect('customers.id as customer_id', 'customers.email', 'customer_groups.name as group', 'customers.phone', 'customers.gender', 'status')
->addSelect(DB::raw('CONCAT(' . DB::getTablePrefix() . 'customers.first_name, " ", ' . DB::getTablePrefix() . 'customers.last_name) as full_name'));
->addSelect(
'customers.id as customer_id',
'customers.email',
'customers.phone',
'customers.gender',
'customers.status',
'customers.is_suspended',
'customer_groups.name as group',
)
->addSelect(
DB::raw('CONCAT(' . DB::getTablePrefix() . 'customers.first_name, " ", ' . DB::getTablePrefix() . 'customers.last_name) as full_name')
);
$this->addFilter('customer_id', 'customers.id');
$this->addFilter('full_name', DB::raw('CONCAT(' . DB::getTablePrefix() . 'customers.first_name, " ", ' . DB::getTablePrefix() . 'customers.last_name)'));
@ -101,7 +111,7 @@ class CustomerDataGrid extends DataGrid
'sortable' => true,
'filterable' => false,
'closure' => function ($row) {
if (!$row->phone) {
if (! $row->phone) {
return '-';
} else {
return $row->phone;
@ -117,7 +127,7 @@ class CustomerDataGrid extends DataGrid
'sortable' => true,
'filterable' => false,
'closure' => function ($row) {
if (!$row->gender) {
if (! $row->gender) {
return '-';
} else {
return $row->gender;
@ -133,11 +143,19 @@ class CustomerDataGrid extends DataGrid
'sortable' => true,
'filterable' => true,
'closure' => function ($row) {
$html = '';
if ($row->status == 1) {
return '<span class="badge badge-md badge-success">' . trans('admin::app.customers.customers.active') . '</span>';
$html .= '<span class="badge badge-md badge-success">' . trans('admin::app.customers.customers.active') . '</span>';
} else {
return '<span class="badge badge-md badge-danger">' . trans('admin::app.customers.customers.inactive') . '</span>';
$html .= '<span class="badge badge-md badge-danger">' . trans('admin::app.customers.customers.inactive') . '</span>';
}
if ($row->is_suspended == 1) {
$html .= '<span class="badge badge-md badge-danger">' . trans('admin::app.customers.customers.suspended') . '</span>';
}
return $html;
},
]);
}

View File

@ -175,6 +175,8 @@ class CustomerController extends Controller
$data['status'] = ! isset($data['status']) ? 0 : 1;
$data['is_suspended'] = ! isset($data['is_suspended']) ? 0 : 1;
$this->customerRepository->update($data, $id);
session()->flash('success', trans('admin::app.response.update-success', ['name' => 'Customer']));

View File

@ -1027,6 +1027,9 @@ return [
'status' => 'الحالة',
'active' => 'نشيط',
'inactive' => 'غير نشط',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' => [

View File

@ -1027,6 +1027,9 @@ return [
'status' => 'Status',
'active' => 'Aktiv',
'inactive' => 'Inaktiv',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' =>
[

View File

@ -1045,6 +1045,9 @@ return [
'status' => 'Status',
'active' => 'Active',
'inactive' => 'Inactive',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' => [

View File

@ -1036,6 +1036,9 @@ return [
'status' => 'Estado',
'active' => 'Activo',
'inactive' => 'Inactivo',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' => [

View File

@ -1022,6 +1022,9 @@ return [
'status' => 'وضعیت',
'active' => 'فعال',
'inactive' => 'غیرفعال',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' => [

View File

@ -1042,6 +1042,9 @@ return [
'status' => 'Statut',
'active' => 'actif',
'inactive' => 'Inactif',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' => [

View File

@ -1030,6 +1030,9 @@ return [
'active' => 'Attivo',
'inactive' => 'Non attivo',
'in-active' => 'Non attivo',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' => [

View File

@ -1024,6 +1024,9 @@ return [
'status' => 'Status',
'active' => 'Actief',
'inactive' => 'Niet geactiveerd',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' => [

View File

@ -1027,6 +1027,9 @@ return [
'status' => 'Status',
'active' => 'Aktywny',
'inactive' => 'Nieaktywny',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' => [

View File

@ -1026,6 +1026,9 @@ return [
'status' => 'Status',
'active' => 'Ativo (a)',
'inactive' => 'Inativo (a)',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' => [

View File

@ -1015,6 +1015,9 @@ return [
'status' => 'Durum',
'active' => 'Aktif',
'inactive' => 'Pasif',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
],
'reviews' => [

View File

@ -105,6 +105,24 @@
{!! view_render_event('bagisto.admin.customer.edit.status.after', ['customer' => $customer]) !!}
<div class="control-group">
<label for="isSuspended" class="required">{{ __('admin::app.customers.customers.suspend') }}</label>
<label class="switch">
<input
id="isSuspended"
type="checkbox"
name="is_suspended"
value="{{ $customer->is_suspended }}" {{ $customer->is_suspended ? 'checked' : '' }}>
<span class="slider round"></span>
</label>
<span class="control-error" v-if="errors.has('is_suspended')">@{{ errors.first('is_suspended') }}</span>
</div>
{!! view_render_event('bagisto.admin.customer.edit.is_suspended.after', ['customer' => $customer]) !!}
<div class="control-group date" :class="[errors.has('date_of_birth') ? 'has-error' : '']">
<label for="dob">{{ __('admin::app.customers.customers.date_of_birth') }}</label>

View File

@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddIsSuspendedColumnToCustomersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('customers', function (Blueprint $table) {
$table->tinyInteger('is_suspended')->unsigned()->default(0)->after('is_verified');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('customers', function (Blueprint $table) {
$table->dropColumn('is_suspended');
});
}
}

View File

@ -42,12 +42,13 @@ class Customer extends Authenticatable implements CustomerContract, JWTSubject
'phone',
'password',
'api_token',
'token',
'customer_group_id',
'subscribed_to_news_letter',
'is_verified',
'token',
'notes',
'status',
'is_verified',
'is_suspended',
'notes',
];
/**
@ -68,7 +69,7 @@ class Customer extends Authenticatable implements CustomerContract, JWTSubject
*/
protected static function newFactory()
{
return CustomerFactory::new();
return CustomerFactory::new ();
}
/**

View File

@ -3,25 +3,25 @@
namespace Webkul\Shop\Http\Controllers;
use Illuminate\Support\Facades\Event;
use Webkul\Shop\Http\Controllers\Controller;
use Webkul\Checkout\Facades\Cart;
use Webkul\Shipping\Facades\Shipping;
use Webkul\Payment\Facades\Payment;
use Webkul\Checkout\Http\Requests\CustomerAddressForm;
use Webkul\Sales\Repositories\OrderRepository;
use Webkul\Customer\Repositories\CustomerRepository;
use Webkul\Payment\Facades\Payment;
use Webkul\Sales\Repositories\OrderRepository;
use Webkul\Shipping\Facades\Shipping;
use Webkul\Shop\Http\Controllers\Controller;
class OnepageController extends Controller
{
/**
* OrderRepository object
* Order repository instance.
*
* @var \Webkul\Sales\Repositories\OrderRepository
*/
protected $orderRepository;
/**
* customerRepository instance object
/**
* Customer repository instance.
*
* @var \Webkul\Customer\Repositories\CustomerRepository
*/
@ -37,8 +37,7 @@ class OnepageController extends Controller
public function __construct(
OrderRepository $orderRepository,
CustomerRepository $customerRepository
)
{
) {
$this->orderRepository = $orderRepository;
$this->customerRepository = $customerRepository;
@ -50,27 +49,31 @@ class OnepageController extends Controller
* Display a listing of the resource.
*
* @return \Illuminate\View\View
*/
*/
public function index()
{
Event::dispatch('checkout.load.index');
if (! auth()->guard('customer')->check()
&& ! core()->getConfigData('catalog.products.guest-checkout.allow-guest-checkout')) {
if (! auth()->guard('customer')->check() && ! core()->getConfigData('catalog.products.guest-checkout.allow-guest-checkout')) {
return redirect()->route('customer.session.index');
}
if (auth()->guard('customer')->check() && auth()->guard('customer')->user()->is_suspended) {
session()->flash('warning', trans('shop::app.checkout.cart.suspended-account-message'));
return redirect()->route('shop.checkout.cart.index');
}
if (Cart::hasError()) {
return redirect()->route('shop.checkout.cart.index');
}
$cart = Cart::getCart();
if (! auth()->guard('customer')->check() && $cart->hasDownloadableItems()) {
return redirect()->route('customer.session.index');
}
if (! auth()->guard('customer')->check() && ! $cart->hasGuestCheckoutItems()) {
if (
(! auth()->guard('customer')->check() && $cart->hasDownloadableItems())
|| (! auth()->guard('customer')->check() && ! $cart->hasGuestCheckoutItems())
) {
return redirect()->route('customer.session.index');
}
@ -88,10 +91,10 @@ class OnepageController extends Controller
}
/**
* Return order short summary
* Return order short summary.
*
* @return \Illuminate\Http\Response
*/
*/
public function summary()
{
$cart = Cart::getCart();
@ -106,7 +109,7 @@ class OnepageController extends Controller
*
* @param \Webkul\Checkout\Http\Requests\CustomerAddressForm $request
* @return \Illuminate\Http\Response
*/
*/
public function saveAddress(CustomerAddressForm $request)
{
$data = request()->all();
@ -120,33 +123,33 @@ class OnepageController extends Controller
if (Cart::hasError() || ! Cart::saveCustomerAddress($data)) {
return response()->json(['redirect_url' => route('shop.checkout.cart.index')], 403);
} else {
$cart = Cart::getCart();
Cart::collectTotals();
if ($cart->haveStockableItems()) {
if (! $rates = Shipping::collectRates()) {
return response()->json(['redirect_url' => route('shop.checkout.cart.index')], 403);
} else {
return response()->json($rates);
}
} else {
return response()->json(Payment::getSupportedPaymentMethods());
}
}
$cart = Cart::getCart();
Cart::collectTotals();
if ($cart->haveStockableItems()) {
if (! $rates = Shipping::collectRates()) {
return response()->json(['redirect_url' => route('shop.checkout.cart.index')], 403);
}
return response()->json($rates);
}
return response()->json(Payment::getSupportedPaymentMethods());
}
/**
* Saves shipping method.
*
* @return \Illuminate\Http\Response
*/
*/
public function saveShipping()
{
$shippingMethod = request()->get('shipping_method');
if (Cart::hasError() || !$shippingMethod || !Cart::saveShippingMethod($shippingMethod)) {
if (Cart::hasError() || ! $shippingMethod || ! Cart::saveShippingMethod($shippingMethod)) {
return response()->json(['redirect_url' => route('shop.checkout.cart.index')], 403);
}
@ -159,7 +162,7 @@ class OnepageController extends Controller
* Saves payment method.
*
* @return \Illuminate\Http\Response
*/
*/
public function savePayment()
{
$payment = request()->get('payment');
@ -182,7 +185,7 @@ class OnepageController extends Controller
* Saves order.
*
* @return \Illuminate\Http\Response
*/
*/
public function saveOrder()
{
if (Cart::hasError()) {
@ -216,10 +219,10 @@ class OnepageController extends Controller
}
/**
* Order success page
* Order success page.
*
* @return \Illuminate\Http\Response
*/
*/
public function success()
{
if (! $order = session('order')) {
@ -230,7 +233,7 @@ class OnepageController extends Controller
}
/**
* Validate order before creation
* Validate order before creation.
*
* @return void|\Exception
*/
@ -240,54 +243,58 @@ class OnepageController extends Controller
$minimumOrderAmount = core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0;
if (auth()->guard('customer')->check() && auth()->guard('customer')->user()->is_suspended) {
throw new \Exception(trans('shop::app.checkout.cart.suspended-account-message'));
}
if (! $cart->checkMinimumOrder()) {
throw new \Exception(trans('shop::app.checkout.cart.minimum-order-message', ['amount' => core()->currency($minimumOrderAmount)]));
}
if ($cart->haveStockableItems() && ! $cart->shipping_address) {
throw new \Exception(trans('Please check shipping address.'));
throw new \Exception(trans('shop::app.checkout.cart.check-shipping-address'));
}
if (! $cart->billing_address) {
throw new \Exception(trans('Please check billing address.'));
throw new \Exception(trans('shop::app.checkout.cart.check-billing-address'));
}
if ($cart->haveStockableItems() && ! $cart->selected_shipping_rate) {
throw new \Exception(trans('Please specify shipping method.'));
throw new \Exception(trans('shop::app.checkout.cart.specify-shipping-method'));
}
if (! $cart->payment) {
throw new \Exception(trans('Please specify payment method.'));
throw new \Exception(trans('shop::app.checkout.cart.specify-payment-method'));
}
}
/**
* Check Customer is exist or not
* Check Customer is exist or not.
*
* @return \Illuminate\Http\Response
*/
public function checkExistCustomer()
{
$customer = $this->customerRepository->findOneWhere([
$customer = $this->customerRepository->findOneWhere([
'email' => request()->email,
]);
]);
if (! is_null($customer)) {
return 'true';
}
if (! is_null($customer)) {
return 'true';
}
return 'false';
return 'false';
}
/**
* Login for checkout
* Login for checkout.
*
* @return \Illuminate\Http\Response
*/
public function loginForCheckout()
{
$this->validate(request(), [
'email' => 'required|email'
'email' => 'required|email',
]);
if (! auth()->guard('customer')->attempt(request(['email', 'password']))) {
@ -300,7 +307,7 @@ class OnepageController extends Controller
}
/**
* To apply couponable rule requested
* To apply couponable rule requested.
*
* @return \Illuminate\Http\Response
*/
@ -322,19 +329,17 @@ class OnepageController extends Controller
'message' => trans('shop::app.checkout.total.coupon-applied'),
'result' => $result,
], 200);
} else {
return response()->json([
'success' => false,
'message' => trans('shop::app.checkout.total.cannot-apply-coupon'),
'result' => null,
], 422);
}
return $result;
return response()->json([
'success' => false,
'message' => trans('shop::app.checkout.total.cannot-apply-coupon'),
'result' => null,
], 422);
}
/**
* Initiates the removal of couponable cart rule
* Initiates the removal of couponable cart rule.
*
* @return array
*/
@ -352,13 +357,13 @@ class OnepageController extends Controller
'grand_total' => core()->currency(Cart::getCart()->grand_total),
],
], 200);
} else {
return response()->json([
'success' => false,
'message' => trans('admin::app.promotion.status.coupon-remove-failed'),
'data' => null,
], 422);
}
return response()->json([
'success' => false,
'message' => trans('admin::app.promotion.status.coupon-remove-failed'),
'data' => null,
], 422);
}
/**
@ -373,8 +378,8 @@ class OnepageController extends Controller
$status = Cart::checkMinimumOrder();
return response()->json([
'status' => ! $status ? false : true,
'status' => ! $status ? false : true,
'message' => ! $status ? trans('shop::app.checkout.cart.minimum-order-message', ['amount' => core()->currency($minimumOrderAmount)]) : 'Success',
]);
}
}
}

View File

@ -514,7 +514,7 @@ return [
'error' => 'لا يستطيع تحديث عنصر s في الوقت الحالي رجاء حاول ثانية لاحقا',
],
'item' => [
'item' => [
'error_remove' => 'لا عناصر لإزالتها من العربة',
'success' => 'تم بنجاح إضافة العنصر إلى العربة',
'success-remove' => 'تم إزالة العنصر بنجاح من العربة',
@ -522,15 +522,20 @@ return [
'inactive' => 'An item is inactive and was removed from cart',
'inactive-add' => 'Inactive item cannot be added to cart',
],
'quantity-error' => 'الكمية المطلوبة غير متوفرة',
'cart-subtotal' => 'المجموع الفرعي للمشتريات',
'cart-remove-action' => 'هل تريد حقا أن تسمح هذا ؟',
'partial-cart-update' => 'تم تحديث بعض المنتجات.',
'link-missing' => '',
'event' => [
'quantity-error' => 'الكمية المطلوبة غير متوفرة',
'cart-subtotal' => 'المجموع الفرعي للمشتريات',
'cart-remove-action' => 'هل تريد حقا أن تسمح هذا ؟',
'partial-cart-update' => 'تم تحديث بعض المنتجات.',
'link-missing' => '',
'event' => [
'expired' => 'This event has been expired.',
],
'minimum-order-message' => 'الحد الأدنى لمبلغ الطلب هو :amount',
'minimum-order-message' => 'الحد الأدنى لمبلغ الطلب هو :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -511,7 +511,7 @@ return [
'error' => 'Die Elemente können derzeit nicht aktualisiert werden. Bitte versuchen Sie es später erneut.',
],
'item' => [
'item' => [
'error_remove' => 'Keine Artikel aus dem Warenkorb zu entfernen',
'success' => 'Artikel wurde erfolgreich zum Warenkorb hinzugefügt',
'success-remove' => 'Artikel wurde erfolgreich aus dem Warenkorb entfernt',
@ -519,12 +519,17 @@ return [
'inactive' => 'Ein Artikel ist inaktiv und wurde aus dem Warenkorb entfernt.',
'inactive-add' => 'Ein inaktiver Artikel kann nicht zum Warenkorb hinzugefügt werde.',
],
'quantity-error' => 'Die angeforderte Menge ist nicht verfügbar',
'cart-subtotal' => 'Warenkorb Zwischensumme',
'cart-remove-action' => 'Wollen Sie dies wirklich tun?',
'partial-cart-update' => 'Nur einige der Produkte wurden aktualisiert',
'link-missing' => '',
'minimum-order-message' => 'Mindestbestellmenge ist :amount',
'quantity-error' => 'Die angeforderte Menge ist nicht verfügbar',
'cart-subtotal' => 'Warenkorb Zwischensumme',
'cart-remove-action' => 'Wollen Sie dies wirklich tun?',
'partial-cart-update' => 'Nur einige der Produkte wurden aktualisiert',
'link-missing' => '',
'minimum-order-message' => 'Mindestbestellmenge ist :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -479,45 +479,40 @@ return [
'tax-inclusive' => 'Inclusive of all taxes',
],
// 'reviews' => [
// 'empty' => 'You Have Not Reviewed Any Of Product Yet'
// ]
'buynow' => [
'no-options' => 'Please select options before buying this product.',
],
'checkout' => [
'cart' => [
'integrity' => [
'integrity' => [
'missing_fields' => 'Some required fields missing for this product.',
'missing_options' => 'Options are missing for this product.',
'missing_links' => 'Downloadable links are missing for this product.',
'qty_missing' => 'Atleast one product should have more than 1 quantity.',
'qty_impossible' => 'Cannot add more than one of these products to cart.',
],
'create-error' => 'Encountered some issue while making cart instance.',
'title' => 'Shopping Cart',
'empty' => 'Your shopping cart is empty',
'update-cart' => 'Update Cart',
'continue-shopping' => 'Continue Shopping',
'continue-registration' => 'Continue Registration',
'proceed-to-checkout' => 'Proceed To Checkout',
'remove' => 'Remove',
'remove-link' => 'Remove',
'move-to-wishlist' => 'Move to Wishlist',
'move-to-wishlist-success' => 'Item moved to wishlist successfully.',
'move-to-wishlist-error' => 'Cannot move item to wishlist, please try again later.',
'add-config-warning' => 'Please select option before adding to cart.',
'quantity' => [
'create-error' => 'Encountered some issue while making cart instance.',
'title' => 'Shopping Cart',
'empty' => 'Your shopping cart is empty',
'update-cart' => 'Update Cart',
'continue-shopping' => 'Continue Shopping',
'continue-registration' => 'Continue Registration',
'proceed-to-checkout' => 'Proceed To Checkout',
'remove' => 'Remove',
'remove-link' => 'Remove',
'move-to-wishlist' => 'Move to Wishlist',
'move-to-wishlist-success' => 'Item moved to wishlist successfully.',
'move-to-wishlist-error' => 'Cannot move item to wishlist, please try again later.',
'add-config-warning' => 'Please select option before adding to cart.',
'quantity' => [
'quantity' => 'Quantity',
'success' => 'Cart Item(s) successfully updated.',
'illegal' => 'Quantity cannot be lesser than one.',
'inventory_warning' => 'The requested quantity is not available, please try again later.',
'error' => 'Cannot update the item(s) at the moment, please try again later.',
],
'item' => [
'item' => [
'error_remove' => 'No items to remove from the cart.',
'success' => 'Item is successfully added to cart.',
'success-remove' => 'Item is successfully removed from the cart.',
@ -525,15 +520,20 @@ return [
'inactive' => 'An item is inactive and was removed from cart.',
'inactive-add' => 'Inactive item cannot be added to cart.',
],
'quantity-error' => 'Requested quantity is not available.',
'cart-subtotal' => 'Cart Subtotal',
'cart-remove-action' => 'Do you really want to do this ?',
'partial-cart-update' => 'Only some of the product(s) were updated',
'link-missing' => '',
'event' => [
'quantity-error' => 'Requested quantity is not available.',
'cart-subtotal' => 'Cart Subtotal',
'cart-remove-action' => 'Do you really want to do this ?',
'partial-cart-update' => 'Only some of the product(s) were updated',
'link-missing' => '',
'event' => [
'expired' => 'This event has been expired.',
],
'minimum-order-message' => 'Minimum order amount is :amount',
'minimum-order-message' => 'Minimum order amount is :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -487,34 +487,34 @@ return [
'checkout' => [
'cart' => [
'integrity' => [
'integrity' => [
'missing_fields' => 'Faltan algunos campos requeridos',
'missing_options' => 'Faltan opciones configurables del producto',
'missing_links' => 'Faltan enlaces descargables para este producto.',
'qty_missing' => 'Al menos un producto debe tener más de 1 cantidad.',
'qty_impossible' => 'No se pueden agregar más de uno de estos productos al carrito.',
],
'create-error' => 'Se encontraron problemas con el carrito de compra',
'title' => 'Carrito de la compra',
'empty' => 'Tu carrito está vacía',
'update-cart' => 'Actualizar carrito',
'continue-shopping' => 'Seguir comprando',
'continue-registration' => 'Daŭrigu Registradon',
'proceed-to-checkout' => 'Continuar con el pago',
'remove' => 'Eliminar',
'remove-link' => 'Eliminar',
'move-to-wishlist' => 'Mover a la lista de deseos',
'move-to-wishlist-success' => 'Artículo movido a la lista de deseos',
'move-to-wishlist-error' => 'El artículo no se puede añadir a la lista de deseos, por favor inténtalo más tarde',
'add-config-warning' => 'Por favor selecciona las opciones antes de añadir al carrito',
'quantity' => [
'create-error' => 'Se encontraron problemas con el carrito de compra',
'title' => 'Carrito de la compra',
'empty' => 'Tu carrito está vacía',
'update-cart' => 'Actualizar carrito',
'continue-shopping' => 'Seguir comprando',
'continue-registration' => 'Daŭrigu Registradon',
'proceed-to-checkout' => 'Continuar con el pago',
'remove' => 'Eliminar',
'remove-link' => 'Eliminar',
'move-to-wishlist' => 'Mover a la lista de deseos',
'move-to-wishlist-success' => 'Artículo movido a la lista de deseos',
'move-to-wishlist-error' => 'El artículo no se puede añadir a la lista de deseos, por favor inténtalo más tarde',
'add-config-warning' => 'Por favor selecciona las opciones antes de añadir al carrito',
'quantity' => [
'quantity' => 'Cantidad',
'success' => 'Carrito actualizada exitosamente',
'illegal' => 'La cantidad no puede ser menor que uno',
'inventory_warning' => 'La cantidad solicitada no está disponible, inténtelo más tarde',
'error' => 'No se pueden actualizar los artículos, inténtelo más tarde',
],
'item' => [
'item' => [
'error_remove' => 'No hay artículos que eliminar en el carrito',
'success' => 'El artículo se añadió al carrito',
'success-remove' => 'El artículo se eliminó del carrito',
@ -522,14 +522,19 @@ return [
'inactive' => 'Un artículo está inactivo y se eliminó del carrito.',
'inactive-add' => 'El artículo inactivo no se puede agregar al carrito',
],
'quantity-error' => 'La cantidad solicitada no está disponible',
'cart-subtotal' => 'Total parcial',
'cart-remove-action' => '¿Realmente quieres hacer esto?',
'partial-cart-update' => 'Solo algunos de los productos se han actualizado',
'event' => [
'quantity-error' => 'La cantidad solicitada no está disponible',
'cart-subtotal' => 'Total parcial',
'cart-remove-action' => '¿Realmente quieres hacer esto?',
'partial-cart-update' => 'Solo algunos de los productos se han actualizado',
'event' => [
'expired' => 'This event has been expired.',
],
'minimum-order-message' => 'La cantidad mínima de pedido es :amount',
'minimum-order-message' => 'La cantidad mínima de pedido es :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -520,14 +520,19 @@ return [
'inactive-add' => 'Inactive item cannot be added to cart',
],
'quantity-error' => 'مقدار درخواستی در دسترس نیست',
'cart-subtotal' => 'سبد فرعی',
'cart-remove-action' => 'آیا واقعاً می خواهید این کار را انجام دهید؟',
'partial-cart-update' => 'فقط برخی از محصولات (های) به روز شده اند',
'event' => [
'quantity-error' => 'مقدار درخواستی در دسترس نیست',
'cart-subtotal' => 'سبد فرعی',
'cart-remove-action' => 'آیا واقعاً می خواهید این کار را انجام دهید؟',
'partial-cart-update' => 'فقط برخی از محصولات (های) به روز شده اند',
'event' => [
'expired' => 'This event has been expired.',
],
'minimum-order-message' => 'حداقل مقدار سفارش است :amount',
'minimum-order-message' => 'حداقل مقدار سفارش است :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -530,7 +530,12 @@ return [
'expired' => 'Cet événement a expiré.',
],
'minimum-order-message' => 'Le montant minimum de commande est de :amount',
'minimum-order-message' => 'Le montant minimum de commande est de :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -512,7 +512,7 @@ return [
'error' => 'Non è posibile aggiornare gli articoli al momento, prova ancora.',
],
'item' => [
'item' => [
'error_remove' => 'Nessun prodotto da rimuovere nel carrello.',
'success' => 'Prodotto aggiunto al carrello.',
'success-remove' => 'Prodotto rimosso dal carrello.',
@ -520,15 +520,20 @@ return [
'inactive' => 'An item is inactive and was removed from cart.',
'inactive-add' => 'Inactive item cannot be added to cart.',
],
'quantity-error' => 'La quantità richiesta non è disponibile.',
'cart-subtotal' => 'Subtotale Carrello',
'cart-remove-action' => 'Vuoi veramente farlo ?',
'partial-cart-update' => 'Solo alcuni dei prodotti sono stati aggiornati',
'link-missing' => '',
'event' => [
'quantity-error' => 'La quantità richiesta non è disponibile.',
'cart-subtotal' => 'Subtotale Carrello',
'cart-remove-action' => 'Vuoi veramente farlo ?',
'partial-cart-update' => 'Solo alcuni dei prodotti sono stati aggiornati',
'link-missing' => '',
'event' => [
'expired' => 'Questo evento è terminato.',
],
'minimum-order-message' => 'L\'importo minimo dell\'ordine è :amount',
'minimum-order-message' => 'L\'importo minimo dell\'ordine è :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -449,34 +449,34 @@ return [
'checkout' => [
'cart' => [
'integrity' => [
'integrity' => [
'missing_fields' => '赤くなった項目を入力してください',
'missing_options' => 'Options are missing for this product.',
'missing_links' => 'Downloadable links are missing for this product.',
'qty_missing' => 'Atleast one product should have more than 1 quantity.',
'qty_impossible' => 'Cannot add more than one of these products to cart.',
],
'create-error' => 'カートで問題が発生しました',
'title' => 'カート',
'empty' => 'カートが空です。',
'update-cart' => 'カートを更新する',
'continue-shopping' => '買い物を続ける',
'continue-registration' => '登録を続ける',
'proceed-to-checkout' => '購入手続きに進む',
'remove' => '削除',
'remove-link' => '削除',
'move-to-wishlist' => 'お気に入りに移動する',
'move-to-wishlist-success' => 'アイテムがお気に入りに追加されました。',
'move-to-wishlist-error' => 'アイテムをお気に入りに追加することができませんでした。しばらくしてから再度お試し下さい。',
'add-config-warning' => 'カートに追加する前にオプションを選択してください',
'quantity' => [
'create-error' => 'カートで問題が発生しました',
'title' => 'カート',
'empty' => 'カートが空です。',
'update-cart' => 'カートを更新する',
'continue-shopping' => '買い物を続ける',
'continue-registration' => '登録を続ける',
'proceed-to-checkout' => '購入手続きに進む',
'remove' => '削除',
'remove-link' => '削除',
'move-to-wishlist' => 'お気に入りに移動する',
'move-to-wishlist-success' => 'アイテムがお気に入りに追加されました。',
'move-to-wishlist-error' => 'アイテムをお気に入りに追加することができませんでした。しばらくしてから再度お試し下さい。',
'add-config-warning' => 'カートに追加する前にオプションを選択してください',
'quantity' => [
'quantity' => '数量',
'success' => 'カートが更新されました。',
'illegal' => '数量を1以下にすることは出来ません。',
'inventory_warning' => 'ご希望の数量の在庫が現在ございません。しばらくしてから再度お試し下さい。現在在庫がございません。',
'error' => 'アイテムの更新が出来ませんでした。しばらくしてから再度お試し下さい。',
],
'item' => [
'item' => [
'error_remove' => 'カートに削除するアイテムがございません。',
'success' => 'アイテムがカートに追加されました。',
'success-remove' => 'アイテムがカートから削除されました。',
@ -484,12 +484,17 @@ return [
'inactive' => 'An item is inactive and was removed from cart',
'inactive-add' => 'Inactive item cannot be added to cart',
],
'quantity-error' => 'ご希望の数量の在庫が現在ございません。',
'cart-subtotal' => '小計',
'cart-remove-action' => '手続きを進めますか。',
'partial-cart-update' => 'Only some of the product(s) were updated',
'link-missing' => '',
'minimum-order-message' => '最小注文額は :amount',
'quantity-error' => 'ご希望の数量の在庫が現在ございません。',
'cart-subtotal' => '小計',
'cart-remove-action' => '手続きを進めますか。',
'partial-cart-update' => 'Only some of the product(s) were updated',
'link-missing' => '',
'minimum-order-message' => '最小注文額は :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -519,7 +519,7 @@ return [
'error' => 'Kan de item (s) momenteel niet updaten. Probeer het later opnieuw.',
],
'item' => [
'item' => [
'error_remove' => 'Geen items om uit de winkelwagen te verwijderen.',
'success' => 'Artikel is succesvol toegevoegd aan winkelwagen.',
'success-remove' => 'Item is met succes uit de winkelwagen verwijderd.',
@ -527,15 +527,20 @@ return [
'inactive' => 'An item is inactive and was removed from cart.',
'inactive-add' => 'Inactive item cannot be added to cart.',
],
'quantity-error' => 'Gevraagde hoeveelheid is niet beschikbaar.',
'cart-subtotal' => 'Subtotaal',
'cart-remove-action' => 'Wil je dit echt doen?',
'partial-cart-update' => 'Slechts enkele van de producten zijn bijgewerkt',
'link-missing' => '',
'event' => [
'quantity-error' => 'Gevraagde hoeveelheid is niet beschikbaar.',
'cart-subtotal' => 'Subtotaal',
'cart-remove-action' => 'Wil je dit echt doen?',
'partial-cart-update' => 'Slechts enkele van de producten zijn bijgewerkt',
'link-missing' => '',
'event' => [
'expired' => 'This event has been expired.',
],
'minimum-order-message' => 'Minimum orderbedrag is :amount',
'minimum-order-message' => 'Minimum orderbedrag is :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -512,7 +512,7 @@ return [
'error' => 'W tej chwili nie można zaktualizować produktów. Spróbuj ponownie później.',
],
'item' => [
'item' => [
'error_remove' => 'Brak produktów do usunięcia z koszyka.',
'success' => 'Produkt został pomyślnie dodany do koszyka.',
'success-remove' => 'Produkt został pomyślnie usunięty z koszyka.',
@ -520,14 +520,19 @@ return [
'inactive' => 'An item is inactive and was removed from cart.',
'inactive-add' => 'Inactive item cannot be added to cart.',
],
'quantity-error' => 'Żądana ilość nie jest dostępna.',
'cart-subtotal' => 'Suma częściowa koszyka',
'cart-remove-action' => 'Czy na pewno chcesz to zrobić ?',
'partial-cart-update' => 'Tylko niektóre produkty zostały zaktualizowane',
'event' => [
'quantity-error' => 'Żądana ilość nie jest dostępna.',
'cart-subtotal' => 'Suma częściowa koszyka',
'cart-remove-action' => 'Czy na pewno chcesz to zrobić ?',
'partial-cart-update' => 'Tylko niektóre produkty zostały zaktualizowane',
'event' => [
'expired' => 'To wydarzenie wygasło.',
],
'minimum-order-message' => 'Minimalna kwota zamówienia to :amount',
'minimum-order-message' => 'Minimalna kwota zamówienia to :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -503,7 +503,7 @@ return [
'error' => 'Não é possível atualizar o item(s) no momento, por favor, tente novamente mais tarde',
],
'item' => [
'item' => [
'error_remove' => 'Nenhum item para remover do carrinho',
'success' => 'Item foi adicionado com sucesso ao carrinho',
'success-remove' => 'Item foi removido com sucesso do carrinho',
@ -511,15 +511,20 @@ return [
'inactive' => 'An item is inactive and was removed from cart',
'inactive-add' => 'Inactive item cannot be added to cart',
],
'quantity-error' => 'Quantidade solicitada não está disponível',
'cart-subtotal' => 'Subtotal do carrinho',
'cart-remove-action' => 'Você realmente quer fazer isso ?',
'partial-cart-update' => 'Only some of the product(s) were updated',
'link-missing' => '',
'event' => [
'quantity-error' => 'Quantidade solicitada não está disponível',
'cart-subtotal' => 'Subtotal do carrinho',
'cart-remove-action' => 'Você realmente quer fazer isso ?',
'partial-cart-update' => 'Only some of the product(s) were updated',
'link-missing' => '',
'event' => [
'expired' => 'This event has been expired.',
],
'minimum-order-message' => 'O valor mínimo do pedido é :amount',
'minimum-order-message' => 'O valor mínimo do pedido é :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [

View File

@ -512,7 +512,7 @@ return [
'error' => 'Ürün güncellemesi yapılamıyor, lütfen tekrar deneyin.',
],
'item' => [
'item' => [
'error_remove' => 'Sepetten kaldırılacak ürün bulunamadı.',
'success' => 'Ürün başarıyla sepete eklendi.',
'success-remove' => 'Ürün sepetten başarıyla kaldırıldı.',
@ -520,15 +520,20 @@ return [
'inactive' => 'An item is inactive and was removed from cart.',
'inactive-add' => 'Inactive item cannot be added to cart.',
],
'quantity-error' => 'Girilen miktar mevcut değil.',
'cart-subtotal' => 'Sepet Ara Toplam',
'cart-remove-action' => 'Sepeti boşaltmak istediğinizden emin misiniz?',
'partial-cart-update' => 'Sadece bazı ürünler güncellendi.',
'link-missing' => '',
'event' => [
'quantity-error' => 'Girilen miktar mevcut değil.',
'cart-subtotal' => 'Sepet Ara Toplam',
'cart-remove-action' => 'Sepeti boşaltmak istediğinizden emin misiniz?',
'partial-cart-update' => 'Sadece bazı ürünler güncellendi.',
'link-missing' => '',
'event' => [
'expired' => 'Bu eylemin geçerliliği sona erdi.',
],
'minimum-order-message' => 'Minimum order amount is :amount',
'minimum-order-message' => 'Minimum order amount is :amount',
'suspended-account-message' => 'Your account has been suspended.',
'check-shipping-address' => 'Please check shipping address.',
'check-billing-address' => 'Please check billing address.',
'specify-shipping-method' => 'Please specify shipping method.',
'specify-payment-method' => 'Please specify payment method.',
],
'onepage' => [