Skip to content

Commit

Permalink
Merge branch '1.x' into fix/shipping-min_quantity-factor
Browse files Browse the repository at this point in the history
  • Loading branch information
glennjacobs authored Nov 19, 2024
2 parents fc6e1c9 + cc1c927 commit b79a41a
Show file tree
Hide file tree
Showing 104 changed files with 5,433 additions and 57 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center"><a href="https://lunarphp.io/" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lunarphp/art/main/lunar-logo-dark.svg"><img alt="Lunar" width="200" src="https://raw.githubusercontent.com/lunarphp/art/main/lunar-logo.svg"></picture></a></p>

> [!CAUTION]
> Version 1.x is currently in alpha release. We recommend this version for new projects, however, it is not feature-complete and therefore may not be deemed production-ready.
> Version 1.x is currently in beta release. We recommend this version for new projects, however, it is not feature-complete and therefore may not be deemed production-ready.

[Lunar](https://lunarphp.io) is a set of Laravel packages that bring functionality akin to Shopify and other e-commerce platforms to
Expand Down
4 changes: 2 additions & 2 deletions docs/admin/overview.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Introduction

::: danger Alpha Release
::: danger Beta Release
Although many Lunar sites have been launched using v1.x, you may not consider this version production-ready for your own
use and should exercise the same amount of caution as you would with any software in an alpha state. 🚀
use and should exercise the same amount of caution as you would with any software in an beta state. 🚀
:::

Lunar's admin panel is powered by Filament v3. It allows you to easily extend the admin panel to suit your project.
Expand Down
6 changes: 3 additions & 3 deletions docs/core/installation.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Installation

::: danger Alpha Release
::: danger Beta Release
Although many Lunar sites have been launched using v1.x, you may not consider this version production-ready for your own
use and should exercise the same amount of caution as you would with any software in an alpha state. 🚀
use and should exercise the same amount of caution as you would with any software in an beta state. 🚀
:::

## Requirements
Expand All @@ -20,7 +20,7 @@ use and should exercise the same amount of caution as you would with any softwar
### Composer Require Package

```sh
composer require lunarphp/lunar:"^1.0.0-alpha" -W
composer require lunarphp/lunar:"^1.0.0-beta" -W
```

::: tip
Expand Down
5 changes: 5 additions & 0 deletions docs/core/local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ Update your `composer.json` file similar to the following.
}
````
Ensure minimum stability is set for development
```json
"minimum-stability": "dev",
````
Run `composer update` from your Laravel application's root directory and fingers crossed you're all up and running,.
```sh
Expand Down
6 changes: 3 additions & 3 deletions docs/core/overview.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Welcome to Lunar!

::: danger Alpha Release
Although many Lunar sites have been launched using v1.x, you may not consider this version production-ready for your own
use and should exercise the same amount of caution as you would with any software in an alpha state. 🚀
::: danger Beta Release
Although many Lunar sites have been launched using v1.x, you may not consider this version production-ready for your own
use and should exercise the same amount of caution as you would with any software in an beta state. 🚀
:::

We are delighted you are considering Lunar for your project. We've spent a lot of time developing this package to bring headless e-commerce functionality to Laravel.
Expand Down
9 changes: 0 additions & 9 deletions docs/core/reference/carts.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,6 @@ foreach ($cart->shippingBreakdown->items as $shippingBreakdown) {
}


foreach ($cart->discountBreakdown as $discountBreakdown) {
$discountBreakdown->discount_id
foreach ($discountBreakdown->lines as $discountLine) {
$discountLine->quantity
$discountLine->line
}
$discountBreakdown->total->value
}

foreach ($cart->discountBreakdown as $discountBreakdown) {
$discountBreakdown->discount_id
foreach ($discountBreakdown->lines as $discountLine) {
Expand Down
46 changes: 46 additions & 0 deletions packages/admin/resources/lang/es/actions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php

return [
'collections' => [
'create_root' => [
'label' => 'Crear colección raíz',
],
'create_child' => [
'label' => 'Crear colección secundaria',
],
'move' => [
'label' => 'Mover colección',
],
'delete' => [
'label' => 'Eliminar',
],
],
'orders' => [
'update_status' => [
'label' => 'Actualizar estado',
'wizard' => [
'step_one' => [
'label' => 'Estado',
],
'step_two' => [
'label' => 'Correos y notificaciones',
'no_mailers' => 'No hay correos disponibles para este estado.',
],
'step_three' => [
'label' => 'Previsualizar y guardar',
'no_mailers' => 'No se han seleccionado correos para la previsualización.',
],
],
'notification' => [
'label' => 'Estado del pedido actualizado',
],
'billing_email' => [
'label' => 'Correo de facturación',
],
'shipping_email' => [
'label' => 'Correo de envío',
],
],

],
];
29 changes: 29 additions & 0 deletions packages/admin/resources/lang/es/activity.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

return [

'label' => 'Actividad',

'plural_label' => 'Actividades',

'table' => [
'subject' => 'Asunto',
'description' => 'Descripción',
'log' => 'Registro',
'logged_at' => 'Registrado en',
'event' => 'Evento',
'logged_from' => 'Registrado desde',
'logged_until' => 'Registrado hasta',
],

'form' => [
'causer_type' => 'Tipo de causante',
'causer_id' => 'ID del causante',
'subject_type' => 'Tipo de asunto',
'subject_id' => 'ID del asunto',
'description' => 'Descripción',
'attributes' => 'Atributos',
'old' => 'Antiguo',
],

];
93 changes: 93 additions & 0 deletions packages/admin/resources/lang/es/address.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?php

return [

'label' => 'Dirección',

'plural_label' => 'Direcciones',

'table' => [
'title' => [
'label' => 'Título',
],
'first_name' => [
'label' => 'Nombre',
],
'last_name' => [
'label' => 'Apellido',
],
'company_name' => [
'label' => 'Nombre de la empresa',
],
'line_one' => [
'label' => 'Dirección',
],
'line_two' => [
'label' => 'Línea Dos',
],
'line_three' => [
'label' => 'Línea Tres',
],
'city' => [
'label' => 'Ciudad',
],
'country_id' => [
'label' => 'País',
],
'state' => [
'label' => 'Estado/Provincia',
],
'postcode' => [
'label' => 'Código postal',
],
'contact_email' => [
'label' => 'Correo de contacto',
],
'contact_phone' => [
'label' => 'Teléfono de contacto',
],
],

'form' => [
'title' => [
'label' => 'Título',
],
'first_name' => [
'label' => 'Nombre',
],
'last_name' => [
'label' => 'Apellido',
],
'company_name' => [
'label' => 'Nombre de la empresa',
],
'line_one' => [
'label' => 'Línea Uno',
],
'line_two' => [
'label' => 'Línea Dos',
],
'line_three' => [
'label' => 'Línea Tres',
],
'city' => [
'label' => 'Ciudad',
],
'country_id' => [
'label' => 'País',
],
'state' => [
'label' => 'Estado/Provincia',
],
'postcode' => [
'label' => 'Código postal',
],
'contact_email' => [
'label' => 'Correo de contacto',
],
'contact_phone' => [
'label' => 'Teléfono de contacto',
],
],

];
55 changes: 55 additions & 0 deletions packages/admin/resources/lang/es/attribute.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php

return [

'label' => 'Atributo',

'plural_label' => 'Atributos',

'table' => [
'name' => [
'label' => 'Nombre',
],
'description' => [
'label' => 'Descripción',
],
'handle' => [
'label' => 'Identificador',
],
'type' => [
'label' => 'Tipo',
],
],

'form' => [
'attributable_type' => [
'label' => 'Tipo',
],
'name' => [
'label' => 'Nombre',
],
'description' => [
'label' => 'Descripción',
'helper' => 'Se usa para mostrar el texto de ayuda debajo de la entrada',
],
'handle' => [
'label' => 'Identificador',
],
'searchable' => [
'label' => 'Buscable',
],
'filterable' => [
'label' => 'Filtrable',
],
'required' => [
'label' => 'Requerido',
],
'type' => [
'label' => 'Tipo',
],
'validation_rules' => [
'label' => 'Reglas de validación',
'helper' => 'Reglas para el campo de atributo, ejemplo: min:1|max:10|...',
],
],
];
46 changes: 46 additions & 0 deletions packages/admin/resources/lang/es/attributegroup.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php

return [

'label' => 'Grupo de Atributos',

'plural_label' => 'Grupos de Atributos',

'table' => [
'attributable_type' => [
'label' => 'Tipo',
],
'name' => [
'label' => 'Nombre',
],
'handle' => [
'label' => 'Identificador',
],
'position' => [
'label' => 'Posición',
],
],

'form' => [
'attributable_type' => [
'label' => 'Tipo',
],
'name' => [
'label' => 'Nombre',
],
'handle' => [
'label' => 'Identificador',
],
'position' => [
'label' => 'Posición',
],
],

'action' => [
'delete' => [
'notification' => [
'error_protected' => 'Este grupo de atributos no puede ser eliminado porque tiene atributos asociados.',
],
],
],
];
32 changes: 32 additions & 0 deletions packages/admin/resources/lang/es/auth.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

return [
/**
* Roles
*/
'roles.admin.label' => 'Administrador',
'roles.admin.description' => 'Administrador con acceso completo',
'roles.staff.label' => 'Personal',
'roles.staff.description' => 'Personal con acceso fundamental',
/**
* Permisos.
*/
'permissions.settings.label' => 'Configuraciones',
'permissions.settings.description' => 'Otorga acceso al área de configuraciones del centro',
'permissions.settings:core.label' => 'Configuraciones Principales',
'permissions.settings:core.description' => 'Acceso a configuraciones fundamentales de la tienda, como canales, idiomas, monedas, etc.',
'permissions.settings:manage-staff.label' => 'Gestionar Personal',
'permissions.settings:manage-staff.description' => 'Permite al miembro del personal editar a otros miembros del personal',
'permissions.settings:manage-attributes.label' => 'Gestionar Atributos',
'permissions.settings:manage-attributes.description' => 'Permite al miembro del personal editar y crear atributos adicionales',
'permissions.catalog:manage-products.label' => 'Gestionar Productos',
'permissions.catalog:manage-products.description' => 'Permite al miembro del personal editar productos, tipos de productos y marcas',
'permissions.catalog:manage-collections.label' => 'Gestionar Colecciones',
'permissions.catalog:manage-collections.description' => 'Permite al miembro del personal editar colecciones y sus grupos',
'permissions.sales:manage-orders.label' => 'Gestionar Pedidos',
'permissions.sales:manage-orders.description' => 'Permite al miembro del personal gestionar pedidos',
'permissions.sales:manage-customers.label' => 'Gestionar Clientes',
'permissions.sales:manage-customers.description' => 'Permite al miembro del personal gestionar clientes',
'permissions.sales:manage-discounts.label' => 'Gestionar Descuentos',
'permissions.sales:manage-discounts.description' => 'Permite al miembro del personal gestionar descuentos',
];
Loading

0 comments on commit b79a41a

Please sign in to comment.