Exemple #1
0
import logging

from django.utils.translation import ugettext_lazy as _
from livesettings import *

log = logging.getLogger('tieredweight.config')

from shipping.config import SHIPPING_ACTIVE

SHIPPING_ACTIVE.add_choice(
    ('shipping.modules.tieredweight', _('Tiered Weight Shipping')))

log.debug('loaded')
Exemple #2
0
from django.utils.translation import ugettext_lazy as _
from livesettings import *
import logging
log = logging.getLogger('shipping.modules.productshipping')
from shipping.config import SHIPPING_ACTIVE

SHIPPING_ACTIVE.add_choice(('shipping.modules.productshipping', _('Shipping By Product')))

log.debug('loaded')
Exemple #3
0
from django.utils.translation import ugettext_lazy as _
from shipping.config import SHIPPING_ACTIVE

SHIPPING_ACTIVE.add_choice(
    ('shipping.modules.tieredquantity', _('Tiered Quantity')))
Exemple #4
0
from django.utils.translation import ugettext_lazy as _

from livesettings.values import ConfigurationGroup, StringValue
from livesettings.functions import config_register
import logging
log = logging.getLogger('tiered.config')
from shipping.config import SHIPPING_ACTIVE

SHIPPING_ACTIVE.add_choice(('shipping.modules.tiered', _('Tiered Shipping')))

log.debug('loaded')

SHIPPING_TIERED_GROUP = ConfigurationGroup('SHIPPING_TIERED',
                                           _('Shipping Tiered Settings'))

config_register(
    StringValue(
        SHIPPING_TIERED_GROUP,
        'MIN_PRICE_FOR',
        description=_("Min Price relates to"),
        help_text=_("By default Min Price only for total of shippable items"),
        default='SHIPPABLE',
        ordering=15,
        choices=(
            ('SHIPPABLE', _('Only shippable items')),
            ('NOT_DISCOUNTABLE', _('Not discountable total')),
        )))
Exemple #5
0
from django.utils.translation import ugettext_lazy as _

import logging
log = logging.getLogger('tiered.config')
from shipping.config import SHIPPING_ACTIVE

SHIPPING_ACTIVE.add_choice(('shipping.modules.tiered', _('Tiered Shipping')))

log.debug('loaded')
Exemple #6
0
import logging

from django.utils.translation import ugettext_lazy as _


log = logging.getLogger('tieredweight.config')

from shipping.config import SHIPPING_ACTIVE

SHIPPING_ACTIVE.add_choice(('shipping.modules.tieredweight', _('Tiered Weight Shipping')))

log.debug('loaded')
import logging

from django.utils.translation import ugettext_lazy as _
from livesettings import *

log = logging.getLogger("nogroth.config")

from shipping.config import SHIPPING_ACTIVE

SHIPPING_ACTIVE.add_choice(("nogroth", _("NoGroTH")))

log.debug("loaded")