repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/search/ProductsSearchProvider.php | classes/search/ProductsSearchProvider.php | <?php
namespace OFFLINE\Mall\Classes\Search;
use Cms\Classes\Controller;
use October\Rain\Support\Collection;
use OFFLINE\Mall\Models\GeneralSettings;
use OFFLINE\Mall\Models\Product;
use OFFLINE\Mall\Models\Variant;
use OFFLINE\SiteSearch\Classes\Providers\ResultsProvider;
use RainLab\Translate\Models\Attribute;
cl... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/database/IsStates.php | classes/database/IsStates.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Classes\Database;
use Exception;
use OFFLINE\Mall\Models\ProductPrice;
/**
* Checks and implements the both states `is_default` and `is_enabled`.
*
* `is_default` ensures that there is (only) one as default marked model.
* `is_enabled` adds additional scopes... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/database/IsStatesScope.php | classes/database/IsStatesScope.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Classes\Database;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Scope;
/**
* Checks and implements the both states `is_default` and `is_enabled`.
*
* `is_default` ensures that there is (only... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/feeds/GoogleMerchantFeed.php | classes/feeds/GoogleMerchantFeed.php | <?php
namespace OFFLINE\Mall\Classes\Feeds;
use Cms\Classes\Page;
use Html;
use OFFLINE\Mall\Models\GeneralSettings;
use OFFLINE\Mall\Models\Product as ProductModel;
use RainLab\Translate\Classes\Translator;
use System\Classes\PluginManager;
use Vitalybaev\GoogleMerchant\Feed;
use Vitalybaev\GoogleMerchant\Product;
u... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/paymentstate/PendingState.php | classes/paymentstate/PendingState.php | <?php
namespace OFFLINE\Mall\Classes\PaymentState;
class PendingState extends PaymentState
{
public static function getAvailableTransitions(): array
{
return [
FailedState::class,
RefundedState::class,
PaidState::class,
];
}
public static function c... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/paymentstate/PaymentState.php | classes/paymentstate/PaymentState.php | <?php
namespace OFFLINE\Mall\Classes\PaymentState;
abstract class PaymentState
{
abstract public static function getAvailableTransitions(): array;
public static function label(): string
{
$parts = explode('\\', get_called_class());
$state = snake_case($parts[count($parts) - 1]);
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/paymentstate/PaidState.php | classes/paymentstate/PaidState.php | <?php
namespace OFFLINE\Mall\Classes\PaymentState;
class PaidState extends PaymentState
{
public static function getAvailableTransitions(): array
{
return [
PendingState::class,
RefundedState::class,
];
}
public static function color(): string
{
ret... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/paymentstate/FailedState.php | classes/paymentstate/FailedState.php | <?php
namespace OFFLINE\Mall\Classes\PaymentState;
class FailedState extends PaymentState
{
public static function getAvailableTransitions(): array
{
return [
PendingState::class,
PaidState::class,
];
}
public static function color(): string
{
retur... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/paymentstate/RefundedState.php | classes/paymentstate/RefundedState.php | <?php
namespace OFFLINE\Mall\Classes\PaymentState;
class RefundedState extends PaymentState
{
public static function getAvailableTransitions(): array
{
return [
PendingState::class,
];
}
public static function color(): string
{
return '#5e667f';
}
}
| php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/FilteredTaxes.php | classes/traits/FilteredTaxes.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use Event;
use October\Rain\Support\Collection;
use OFFLINE\Mall\Classes\User\Auth;
use OFFLINE\Mall\Models\Cart;
use OFFLINE\Mall\Models\Tax;
/**
* This trait is used to filter a Collection of taxes based
* on a provided shipping destination country.
*/
trait Filtere... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/ProductPriceAccessors.php | classes/traits/ProductPriceAccessors.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Classes\Traits;
use October\Rain\Database\Collection;
use OFFLINE\Mall\Models\Currency;
use OFFLINE\Mall\Models\CustomerGroup;
use OFFLINE\Mall\Models\PriceCategory;
trait ProductPriceAccessors
{
/**
* Undocumented function
* @param CustomerGroup $... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/ShippingMethods.php | classes/traits/ShippingMethods.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use OFFLINE\Mall\Models\ShippingMethod;
trait ShippingMethods
{
public function getAvailableShippingMethods()
{
return ShippingMethod::getAvailableByCart($this);
}
public function setShippingMethod(?ShippingMethod $method)
{
$this->shi... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/PriceAccessors.php | classes/traits/PriceAccessors.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Classes\Traits;
use Closure;
use October\Rain\Database\Collection;
use OFFLINE\Mall\Classes\Database\IsStatesScope;
use OFFLINE\Mall\Classes\Utils\Money;
use OFFLINE\Mall\Models\Currency;
use OFFLINE\Mall\Models\Price;
use OFFLINE\Mall\Models\Product;
use OFFLINE... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/PropertyValues.php | classes/traits/PropertyValues.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use October\Rain\Support\Collection;
use OFFLINE\Mall\Models\Product;
use OFFLINE\Mall\Models\Property;
use OFFLINE\Mall\Models\PropertyGroup;
use OFFLINE\Mall\Models\PropertyValue;
use OFFLINE\Mall\Models\Variant;
trait PropertyValues
{
/**
* Returns a collectio... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/Images.php | classes/traits/Images.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use October\Rain\Support\Collection;
use OFFLINE\Mall\Models\ImageSet;
use System\Models\File;
trait Images
{
/**
* Returns the first available image.
*
* @return File
*/
public function getImageAttribute()
{
return optional($this->... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/JsonPrice.php | classes/traits/JsonPrice.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use Illuminate\Support\Facades\Cache;
use OFFLINE\Mall\Classes\Utils\Money;
use OFFLINE\Mall\Models\Currency;
use OFFLINE\Mall\Models\Price;
use OFFLINE\Mall\Models\Product;
use OFFLINE\Mall\Models\Variant;
trait JsonPrice
{
public $currencies;
public $activeCurr... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/StockAndQuantity.php | classes/traits/StockAndQuantity.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use OFFLINE\Mall\Classes\Exceptions\OutOfStockException;
use OFFLINE\Mall\Models\Variant;
trait StockAndQuantity
{
public function reduceStock(int $quantity, bool $updateSalesCount = true)
{
$this->decrement('stock', $quantity);
$fresh = $this->fr... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/NullPrice.php | classes/traits/NullPrice.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use Closure;
use OFFLINE\Mall\Models\Currency;
use OFFLINE\Mall\Models\Price;
use OFFLINE\Mall\Models\Variant;
trait NullPrice
{
protected $defaultCurrency = null;
protected function nullPrice(
$currency,
$related,
string $relation = 'pric... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/SortableRelation.php | classes/traits/SortableRelation.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use DB;
use Exception;
trait SortableRelation
{
public function setRelationOrder($relationName, $itemIds, $itemOrders = null, $sortKey = 'sort_order')
{
if (! is_array($itemIds)) {
$itemIds = [$itemIds];
}
if ($itemOrders === n... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/UserSpecificPrice.php | classes/traits/UserSpecificPrice.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use OFFLINE\Mall\Classes\User\Auth;
use OFFLINE\Mall\Models\CustomerGroup;
use OFFLINE\Mall\Models\Price;
trait UserSpecificPrice
{
public function getUserSpecificPrice(Price $original)
{
$group = optional(Auth::user())->customer_group;
if (! $thi... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/Rounding.php | classes/traits/Rounding.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use OFFLINE\Mall\Models\Currency;
trait Rounding
{
/**
* @var Currency
*/
private $currency;
protected function getCurrency(): Currency
{
if ($this->currency) {
return $this->currency;
}
return $this->currenc... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/ProductPriceTable.php | classes/traits/ProductPriceTable.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use Backend\Widgets\Table;
use DB;
use October\Rain\Exception\ValidationException;
use OFFLINE\Mall\Classes\Database\IsStatesScope;
use OFFLINE\Mall\Classes\Index\Index;
use OFFLINE\Mall\Classes\Observers\ProductObserver;
use OFFLINE\Mall\Models\Currency;
use OFFLINE\Mall\... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/HashIds.php | classes/traits/HashIds.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use Exception;
use Hashids\Hashids as Hasher;
trait HashIds
{
/**
* To hide the original ID in the product URL we use hash
* ids to link to different variants.
*
* @return string
*/
public function getHashIdAttribute()
{
return... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/PDFMaker.php | classes/traits/PDFMaker.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use Barryvdh\DomPDF\Facade\Pdf;
use Cms\Classes\CmsException;
use Cms\Classes\Controller;
trait PDFMaker
{
/**
* Generate a PDF document from a partial in the plugins/mallPDF folder.
*
* @param string $dir
* @param array $data
*
* @throws... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/CustomFields.php | classes/traits/CustomFields.php | <?php
namespace OFFLINE\Mall\Classes\Traits;
use Illuminate\Support\Collection;
use October\Rain\Exception\ValidationException;
use OFFLINE\Mall\Models\Currency;
use OFFLINE\Mall\Models\CustomField;
use OFFLINE\Mall\Models\CustomFieldValue;
use Validator;
trait CustomFields
{
/**
* Returns the product's bas... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/category/Translation.php | classes/traits/category/Translation.php | <?php
namespace OFFLINE\Mall\Classes\Traits\Category;
use OFFLINE\Mall\Models\Category;
use System\Classes\PluginManager;
trait Translation
{
/**
* Translate url parameters when the user switches the active locale.
*
* @param $params
* @param $oldLocale
* @param $newLocale
*
* ... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/category/Slug.php | classes/traits/category/Slug.php | <?php
namespace OFFLINE\Mall\Classes\Traits\Category;
use Cache;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use October\Rain\Exception\ValidationException;
use OFFLINE\Mall\Models\Category;
trait Slug
{
/**
* Returns the slug of this category prepended by
* the slugs of each parent catego... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/category/MenuItems.php | classes/traits/category/MenuItems.php | <?php
namespace OFFLINE\Mall\Classes\Traits\Category;
use Cache;
use Cms\Classes\Controller;
use Cms\Classes\Page;
use InvalidArgumentException;
use OFFLINE\Mall\Models\Category;
use OFFLINE\Mall\Models\GeneralSettings;
use OFFLINE\Mall\Models\Product;
trait MenuItems
{
/**
* @param $item
* @param $url... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/category/Properties.php | classes/traits/category/Properties.php | <?php
namespace OFFLINE\Mall\Classes\Traits\Category;
use DB;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Models\Category;
trait Properties
{
private $inheritedPropertyGroupsCache;
public function getInheritedPropertyGroupsAttribute()
{
return $this->inherit_property_groups ? $this->getI... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/cart/CartItemPriceAccessors.php | classes/traits/cart/CartItemPriceAccessors.php | <?php
namespace OFFLINE\Mall\Classes\Traits\Cart;
use October\Rain\Support\Collection;
use OFFLINE\Mall\Classes\Totals\TaxTotal;
use OFFLINE\Mall\Classes\Traits\FilteredTaxes;
use OFFLINE\Mall\Models\ServiceOption;
use OFFLINE\Mall\Models\Tax;
trait CartItemPriceAccessors
{
use FilteredTaxes;
/**
* Cac... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/cart/Discounts.php | classes/traits/cart/Discounts.php | <?php
namespace OFFLINE\Mall\Classes\Traits\Cart;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Support\Facades\DB;
use October\Rain\Exception\ValidationException;
use OFFLINE\Mall\Classes\User\Auth;
use OFFLINE\Mall\Models\Discount;
trait Discounts
{
/**
* Apply... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/cart/CartSession.php | classes/traits/cart/CartSession.php | <?php
namespace OFFLINE\Mall\Classes\Traits\Cart;
use Cookie;
use OFFLINE\Mall\Models\Cart;
use OFFLINE\Mall\Models\Customer;
use RainLab\User\Models\User;
use Session;
trait CartSession
{
public static function byUser(?User $user)
{
if ($user === null || $user->customer === null) {
retur... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/traits/cart/CartActions.php | classes/traits/cart/CartActions.php | <?php
namespace OFFLINE\Mall\Classes\Traits\Cart;
use DB;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Classes\Exceptions\OutOfStockException;
use OFFLINE\Mall\Models\Cart;
use OFFLINE\Mall\Models\CartProduct;
use OFFLINE\Mall\Models\Product;
use OFFLINE\Mall\Models\Variant;
trait CartActions
{
/**
*... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/registration/BootExtensions.php | classes/registration/BootExtensions.php | <?php
namespace OFFLINE\Mall\Classes\Registration;
use Backend;
use Backend\Widgets\Filter;
use Backend\Widgets\Form;
use Backend\Widgets\Lists;
use Event;
use October\Rain\Database\Builder;
use OFFLINE\Mall\Models\Address;
use OFFLINE\Mall\Models\Customer;
use OFFLINE\Mall\Models\CustomerGroup;
use OFFLINE\Mall\Mode... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/registration/BootComponents.php | classes/registration/BootComponents.php | <?php
namespace OFFLINE\Mall\Classes\Registration;
use OFFLINE\Mall\Components\AddressForm;
use OFFLINE\Mall\Components\AddressList;
use OFFLINE\Mall\Components\AddressSelector;
use OFFLINE\Mall\Components\Cart;
use OFFLINE\Mall\Components\Checkout;
use OFFLINE\Mall\Components\CurrencyPicker;
use OFFLINE\Mall\Compone... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/registration/BootMails.php | classes/registration/BootMails.php | <?php
namespace OFFLINE\Mall\Classes\Registration;
trait BootMails
{
public function registerMailTemplates()
{
return [
'offline.mall::mail.customer.created',
'offline.mall::mail.order.state_changed',
'offline.mall::mail.order.shipped',
'offline.mall::ma... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/registration/BootValidation.php | classes/registration/BootValidation.php | <?php
namespace OFFLINE\Mall\Classes\Registration;
use OFFLINE\Mall\Classes\Validation\NonExistingUserRule;
trait BootValidation
{
protected function registerValidationRules()
{
$this->registerValidationRule('non_existing_user', NonExistingUserRule::class);
}
}
| php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/registration/BootTwig.php | classes/registration/BootTwig.php | <?php
namespace OFFLINE\Mall\Classes\Registration;
use OFFLINE\Mall\Classes\Utils\Money;
use System\Twig\Extension as TwigExtension;
use System\Twig\Loader as TwigLoader;
use Twig\Environment;
trait BootTwig
{
public function registerTwigEnvironment()
{
$this->app->singleton('mall.twig.environment', ... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/registration/BootEvents.php | classes/registration/BootEvents.php | <?php
namespace OFFLINE\Mall\Classes\Registration;
use Event;
use OFFLINE\Mall\Classes\Events\MailingEventHandler;
use OFFLINE\Mall\Classes\Search\ProductsSearchProvider;
use OFFLINE\Mall\Models\Brand;
use OFFLINE\Mall\Models\Cart;
use OFFLINE\Mall\Models\Category;
use OFFLINE\Mall\Models\Customer;
use OFFLINE\Mall\M... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/registration/BootSettings.php | classes/registration/BootSettings.php | <?php
namespace OFFLINE\Mall\Classes\Registration;
use Backend\Facades\Backend;
use OFFLINE\Mall\Models\FeedSettings;
use OFFLINE\Mall\Models\GeneralSettings;
use OFFLINE\Mall\Models\PaymentGatewaySettings;
use OFFLINE\Mall\Models\ReviewSettings;
trait BootSettings
{
public function registerSettings()
{
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/registration/BootServiceContainer.php | classes/registration/BootServiceContainer.php | <?php
namespace OFFLINE\Mall\Classes\Registration;
use Barryvdh\DomPDF\Facade;
use Barryvdh\DomPDF\PDF;
use DB;
use Dompdf\Dompdf;
use Hashids\Hashids;
use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\Facades\Cache;
use OFFLINE\Mall\Classes\Customer\DefaultSignInHandler;
use OFFLINE\Mall\Classes\Customer... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/formwidgets/PropertyFields.php | formwidgets/PropertyFields.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\FormWidgets;
use Backend\Classes\FormField;
use Backend\Classes\FormWidgetBase;
use Backend\FormWidgets\ColorPicker;
use Backend\FormWidgets\DatePicker;
use Backend\FormWidgets\FileUpload;
use Backend\FormWidgets\RichEditor;
use OFFLINE\Mall\Models\Property;
use ... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/formwidgets/Price.php | formwidgets/Price.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\FormWidgets;
use Backend\Classes\FormWidgetBase;
use October\Rain\Database\Collection;
use October\Rain\Database\Relations\Relation;
use October\Rain\Exception\ValidationException;
use OFFLINE\Mall\Models\Currency;
/**
* Copied from RainLab.Translate's MLText
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_12-create_offline_mall_shipping_method_tax.php | updates/001_12-create_offline_mall_shipping_method_tax.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallShippingMethodTax extends Migration
{
public function up()
{
Schema::create('offline_mall_shipping_method_tax', function ($table) {
$table->engine = 'InnoDB';
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/030_03-alter_offline_mall_price_categories.php | updates/030_03-alter_offline_mall_price_categories.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class AlterOfflineMallPriceCategories_030_03 extends Migration
{
/**
* Install Migration
*
* @return void
*/
public function... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/009_01-remove_description_column_from_order_products.php | updates/009_01-remove_description_column_from_order_products.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class RemoveDescriptionColumnFromOrderProducts extends Migration
{
public function up()
{
Schema::table('offline_mall_order_products', function ($table) {
if (Schema::hasColumn('offline_mall_ord... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_30-create_offline_mall_brands.php | updates/001_30-create_offline_mall_brands.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallBrands extends Migration
{
public function up()
{
Schema::create('offline_mall_brands', function ($table) {
$table->engine = 'InnoDB';
$table->increments('id')... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/030_02-alter_offline_mall_currencies.php | updates/030_02-alter_offline_mall_currencies.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class AlterOfflineMallCurrencies_030_02 extends Migration
{
/**
* Install Migration
*
* @return void
*/
public function up()... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/030_07-alter_offline_mall_order_states.php | updates/030_07-alter_offline_mall_order_states.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class AlterOfflineMallOrderStates_030_07 extends Migration
{
/**
* Install Migration
*
* @return void
*/
public function up(... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/013_02-create_offline_mall_wishlist_items.php | updates/013_02-create_offline_mall_wishlist_items.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallWishlistItems extends Migration
{
public function up()
{
Schema::create('offline_mall_wishlist_items', function ($table) {
$table->engine = 'InnoDB';
$table->i... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/010_04-add_name_column_to_index_table.php | updates/010_04-add_name_column_to_index_table.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddNameColumnToIndexTable extends Migration
{
public function up()
{
if (! Schema::hasTable('offline_mall_index')) {
return;
}
S... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/018_01-add_pdf_partial_to_payment_method.php | updates/018_01-add_pdf_partial_to_payment_method.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddPDFPartialToPaymentMethod extends Migration
{
public function up()
{
Schema::table('offline_mall_payment_methods', function ($table) {
$table->string('pdf_partial')->after('fee_percenta... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_09-create_offline_mall_carts.php | updates/001_09-create_offline_mall_carts.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallCarts extends Migration
{
public function up()
{
Schema::create('offline_mall_carts', function ($table) {
$table->engine = 'InnoDB';
$table->increments('id')->... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/026_01-add_google_category_id_to_categories_table.php | updates/026_01-add_google_category_id_to_categories_table.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddGoogleCategoryIdToCategoriesTable extends Migration
{
public function up()
{
Schema::table('offline_mall_categories', function (Blueprint $table) {
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/010_01-add_identifier_columns_for_products_and_variants.php | updates/010_01-add_identifier_columns_for_products_and_variants.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddIdentifierColumnsForProductsAndVariants extends Migration
{
public function up()
{
Schema::table('offline_mall_products', function ($table) {
$table->string('mpn')->nullable();
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/017_01-add_valid_from_column_to_discounts_table.php | updates/017_01-add_valid_from_column_to_discounts_table.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddValidFromColumnToDiscountsTable extends Migration
{
public function up()
{
Schema::table('offline_mall_discounts', function (Blueprint $table) {
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/031_01-create_unique_property_values_table.php | updates/031_01-create_unique_property_values_table.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Updates;
use DB;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use OFFLINE\Mall\Models\Category;
use OFFLINE\Mall\Models\UniquePropertyValue;
use Schema;
/**
* CreateUniquePropertyValuesTable Migration
*
* @link http... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_41-create_offline_mall_currencies.php | updates/001_41-create_offline_mall_currencies.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallCurrencies extends Migration
{
public function up()
{
Schema::create('offline_mall_currencies', function ($table) {
$table->engine = 'InnoDB';
$table->incremen... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/021_01-update_description_short_column_of_products_table.php | updates/021_01-update_description_short_column_of_products_table.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class UpdateDescriptionShortColumnOfProductsTable extends Migration
{
public function up()
{
Schema::table('offline_mall_products', function ($table) {
$table->text('description_short')->nullabl... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/021_02-update_description_short_column_of_product_variants_table.php | updates/021_02-update_description_short_column_of_product_variants_table.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class UpdateDescriptionShortColumnOfProductVariantsTable extends Migration
{
public function up()
{
Schema::table('offline_mall_product_variants', function ($table) {
$table->text('description_s... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_18-create_offline_mall_orders.php | updates/001_18-create_offline_mall_orders.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallOrders extends Migration
{
public function up()
{
Schema::create('offline_mall_orders', function ($table) {
$table->engine = 'InnoDB';
$table->increments('id')... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_21-create_offline_mall_customers.php | updates/001_21-create_offline_mall_customers.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallCustomers extends Migration
{
public function up()
{
Schema::create('offline_mall_customers', function ($table) {
$table->engine = 'InnoDB';
$table->increments... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_15-create_offline_mall_cart_custom_field_value.php | updates/001_15-create_offline_mall_cart_custom_field_value.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallCartCustomFieldValue extends Migration
{
public function up()
{
Schema::create('offline_mall_cart_custom_field_value', function ($table) {
$table->engine = 'InnoDB';
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_25-create_offline_mall_payment_method_tax.php | updates/001_25-create_offline_mall_payment_method_tax.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallPaymentMethodTax extends Migration
{
public function up()
{
Schema::create('offline_mall_payment_method_tax', function ($table) {
$table->engine = 'InnoDB';
$t... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_03-create_offline_mall_product_accessory.php | updates/001_03-create_offline_mall_product_accessory.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallProductAccessory extends Migration
{
public function up()
{
Schema::create('offline_mall_product_accessory', function ($table) {
$table->engine = 'InnoDB';
$ta... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/013_01-create_offline_mall_wishlists.php | updates/013_01-create_offline_mall_wishlists.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallWishlists extends Migration
{
public function up()
{
Schema::create('offline_mall_wishlists', function ($table) {
$table->engine = 'InnoDB';
$table->increments... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/022_01-add_rounding_column_to_currencies_table.php | updates/022_01-add_rounding_column_to_currencies_table.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddRoundingColumnToCurrenciesTable extends Migration
{
public function up()
{
Schema::table('offline_mall_currencies', function ($table) {
$table->integer('rounding')->nullable();
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_17-create_offline_mall_cart_discount.php | updates/001_17-create_offline_mall_cart_discount.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallCartDiscount extends Migration
{
public function up()
{
Schema::create('offline_mall_cart_discount', function ($table) {
$table->engine = 'InnoDB';
$table->inc... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/016_01-add_virtual_products_support.php | updates/016_01-add_virtual_products_support.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use OFFLINE\Mall\Models\Notification;
use Schema;
class AddVirtualProductsSupport extends Migration
{
public function up()
{
Schema::table('offline_mall_products', function (... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/020_01-add_shipping_method_id_to_wishlists_table.php | updates/020_01-add_shipping_method_id_to_wishlists_table.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddShippingMethodIdToWishlistsTable extends Migration
{
public function up()
{
Schema::table('offline_mall_wishlists', function (Blueprint $table) {
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/019_01-add_is_default_column_to_taxes_table.php | updates/019_01-add_is_default_column_to_taxes_table.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddIsDefaultColumnToTaxesTable extends Migration
{
public function up()
{
Schema::table('offline_mall_taxes', function ($table) {
$table->boolean('is_default')->default(0);
});
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/027_01-create_offline_mall_shipping_method_discount.php | updates/027_01-create_offline_mall_shipping_method_discount.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallShippingMethodDiscount extends Migration
{
public function up()
{
Schema::create('offline_mall_shipping_method_discount', function ($table) {
$table->engine = 'InnoDB';
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_20-create_offline_mall_addresses.php | updates/001_20-create_offline_mall_addresses.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallAddresses extends Migration
{
public function up()
{
Schema::create('offline_mall_addresses', function ($table) {
$table->engine = 'InnoDB';
$table->increments... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_33-create_offline_mall_property_groups.php | updates/001_33-create_offline_mall_property_groups.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallPropertyGroups extends Migration
{
public function up()
{
Schema::create('offline_mall_property_groups', function ($table) {
$table->engine = 'InnoDB';
$table-... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_08-create_offline_mall_product_tax.php | updates/001_08-create_offline_mall_product_tax.php | <?php
namespace OFFLINE\Mall\Updates;
use Illuminate\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallProductTax extends Migration
{
public function up()
{
Schema::create('offline_mall_product_tax', function (Blueprint $table) {
$t... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/031_02-mysql_8_compatibility.php | updates/031_02-mysql_8_compatibility.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
return new class extends Migration
{
public function up()
{
Schema::table('offline_mall_product_variants', function (Blueprint $table) {
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/023_01-add_short_description_field_to_category.php | updates/023_01-add_short_description_field_to_category.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddShortDescriptionFieldToCategory extends Migration
{
public function up()
{
Schema::table('offline_mall_categories', function ($table) {
$table->string('description_short', 255)->nullabl... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_26-create_offline_mall_product_custom_field.php | updates/001_26-create_offline_mall_product_custom_field.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallProductCustomField extends Migration
{
public function up()
{
Schema::create('offline_mall_product_custom_field', function ($table) {
$table->engine = 'InnoDB';
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/012_01-add_embeds_column_to_products_table.php | updates/012_01-add_embeds_column_to_products_table.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddEmbedsColumnToProductsTable extends Migration
{
public function up()
{
Schema::table('offline_mall_products', function ($table) {
$table->text('embeds')->nullable();
});
}
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_04-create_offline_mall_custom_fields.php | updates/001_04-create_offline_mall_custom_fields.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallProductCustomFields extends Migration
{
public function up()
{
Schema::create('offline_mall_custom_fields', function ($table) {
$table->engine = 'InnoDB';
$tab... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/011_01-set_use_state_default_setting.php | updates/011_01-set_use_state_default_setting.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use OFFLINE\Mall\Models\GeneralSettings;
class SetUseStateDefaultSetting extends Migration
{
public function up()
{
// To remain backwards compatible this setting is set to true.
GeneralSettings::set('use_state... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_24-create_offline_mall_payment_methods.php | updates/001_24-create_offline_mall_payment_methods.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallPaymentMethods extends Migration
{
public function up()
{
Schema::create('offline_mall_payment_methods', function ($table) {
$table->engine = 'InnoDB';
$table-... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_40-create_offline_mall_category_product_sort_order.php | updates/001_40-create_offline_mall_category_product_sort_order.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallCategoryProductSortOrder extends Migration
{
public function up()
{
Schema::create('offline_mall_category_product_sort_order', function ($table) {
$table->engine = 'InnoDB... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/005_01-use_text_columns_for_variant_names.php | updates/005_01-use_text_columns_for_variant_names.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class UseTextColumnsForVariantNames extends Migration
{
public function up()
{
Schema::table('offline_mall_order_products', function ($table) {
$table->text('variant_name')->nullable()->change()... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_14-create_offline_mall_shipping_method_rates.php | updates/001_14-create_offline_mall_shipping_method_rates.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallShippingMethodRates extends Migration
{
public function up()
{
Schema::create('offline_mall_shipping_method_rates', function ($table) {
$table->engine = 'InnoDB';
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_44-create_offline_mall_notifications.php | updates/001_44-create_offline_mall_notifications.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallNotifications extends Migration
{
public function up()
{
Schema::create('offline_mall_notifications', function ($table) {
$table->engine = 'InnoDB';
$table->in... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/006_01-use_text_columns_for_payment_log.php | updates/006_01-use_text_columns_for_payment_log.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class UseTextColumnsForPaymentLog extends Migration
{
public function up()
{
Schema::table('offline_mall_payments_log', function ($table) {
$table->text('payment_method')->nullable()->change();
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_11-create_offline_mall_shipping_methods.php | updates/001_11-create_offline_mall_shipping_methods.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallShippingMethods extends Migration
{
public function up()
{
Schema::create('offline_mall_shipping_methods', function ($table) {
$table->engine = 'InnoDB';
$tabl... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/028_01-add_payment_method_id_to_discounts_table.php | updates/028_01-add_payment_method_id_to_discounts_table.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddPaymentMethodIdToDiscountsTable extends Migration
{
public function up()
{
Schema::table('offline_mall_discounts', function ($table) {
$table->integer('payment_method_id')->after('produ... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_31-create_offline_mall_image_sets.php | updates/001_31-create_offline_mall_image_sets.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallImageSets extends Migration
{
public function up()
{
Schema::create('offline_mall_image_sets', function ($table) {
$table->engine = 'InnoDB';
$table->increment... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/007_01-update_jsonable_columns_to_mediumtext.php | updates/007_01-update_jsonable_columns_to_mediumtext.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class UpdateJsonableColumnsToMediumtext extends Migration
{
public function up()
{
Schema::table('offline_mall_payments_log', function (Blueprint $table) {
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_16-create_offline_mall_discounts.php | updates/001_16-create_offline_mall_discounts.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallDiscounts extends Migration
{
public function up()
{
Schema::create('offline_mall_discounts', function ($table) {
$table->engine = 'InnoDB';
$table->increments... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_22-create_offline_mall_shipping_countries.php | updates/001_22-create_offline_mall_shipping_countries.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallShippingCountries extends Migration
{
public function up()
{
Schema::create('offline_mall_shipping_countries', function ($table) {
$table->engine = 'InnoDB';
$... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_45-database_seeder.php | updates/001_45-database_seeder.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Seeder;
class DatabaseSeeder extends Seeder
{
public function run()
{
return; // Skipped due to Octobers new updates/seeder structure
}
}
| php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/010_02-add_description_columns_to_variants.php | updates/010_02-add_description_columns_to_variants.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddDescriptionColumnsToVariants extends Migration
{
public function up()
{
Schema::table('offline_mall_product_variants', function ($table) {
$table->string('description_short', 255)->null... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_42-allow_non_unique_emails_for_rainlab_user.php | updates/001_42-allow_non_unique_emails_for_rainlab_user.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class AllowNonUniqueEmailsForRainlabUser extends Migration
{
/**
* The OFFLINE.Mall plugin allows multiple guest signups
* with the same email address. Rainlab.User blocks this by
* using a unique index ... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_43-add_customer_group_id_to_rainlab_users.php | updates/001_43-add_customer_group_id_to_rainlab_users.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class AddCustomerGroupIdToRainlabUsers extends Migration
{
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->integer... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_02-create_offline_mall_product_variants.php | updates/001_02-create_offline_mall_product_variants.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallProductVariants extends Migration
{
public function up()
{
Schema::create('offline_mall_product_variants', function ($table) {
$table->engine = 'InnoDB';
$tabl... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/030_05-alter_offline_mall_payment_methods.php | updates/030_05-alter_offline_mall_payment_methods.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
use Schema;
class AlterOfflineMallPaymentMethods_030_05 extends Migration
{
/**
* Install Migration
*
* @return void
*/
public function ... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/updates/001_27-create_offline_mall_properties.php | updates/001_27-create_offline_mall_properties.php | <?php
namespace OFFLINE\Mall\Updates;
use October\Rain\Database\Updates\Migration;
use Schema;
class CreateOfflineMallProperties extends Migration
{
public function up()
{
Schema::create('offline_mall_properties', function ($table) {
$table->engine = 'InnoDB';
$table->incremen... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.