forgeos_commerce 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +339 -0
- data/COPYING.LESSER +165 -0
- data/Gemfile +2 -0
- data/LICENSE +2 -0
- data/MIT-LICENSE +20 -0
- data/README.textile +27 -0
- data/app/assets/images/forgeos/admin/favicon.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/bubble-quantity-products.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/check-checked.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/check-unchecked.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/context.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/create.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/dark-blue-minus.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/dark-blue-plus.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/dot.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/f.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/fminus.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/fminus_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/folder.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/fplus.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/fplus_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/lastli.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/lastli_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/li.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/remove.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/rename.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/association_product/throbber.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/bubble-quantity-products.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/check-checked.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/check-unchecked.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/context.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/create.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/dark-blue-minus.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/dark-blue-plus.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/dot.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/drag-drop.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/f.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/fminus.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/fminus_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/folder.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/fplus.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/fplus_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/grey-drag-drop.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/lastli.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/lastli_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/li.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/remove.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/rename.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product-types/throbber.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/brown-minus.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/brown-plus.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/bubble-quantity-products.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/context.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/create.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/dot.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/f.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/fminus.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/fminus_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/fplus.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/fplus_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/lastli.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/lastli_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/li.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/remove.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/rename.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/product_category/throbber.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/bubble-quantity-products.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/check-checked.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/check-unchecked.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/context.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/create.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/dark-blue-minus.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/dark-blue-plus.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/dot.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/f.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/fminus.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/fminus_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/folder.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/fplus.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/fplus_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/lastli.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/lastli_rtl.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/li.gif +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/remove.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/rename.png +0 -0
- data/app/assets/images/forgeos/jstree/themes/zone-tree/throbber.gif +0 -0
- data/app/assets/javascripts/forgeos/admin/functions.js +3 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_commerce/all.js +1 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_commerce/attributes.js +18 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_commerce/cross-sellings.js +18 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_commerce/orders.js +88 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_commerce/products.js +46 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_commerce/rules.js +98 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_commerce/transporters.js +60 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_commerce/trees.js +35 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_commerce/uploads.js +10 -0
- data/app/assets/javascripts/forgeos/admin/inits.js +3 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_commerce/all.js +1 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_commerce/clicks.js +25 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_commerce/cross-sellings.js +69 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_commerce/customer.js +64 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_commerce/orders.js +83 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_commerce/overlays.js +45 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_commerce/products.js +103 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_commerce/settings.js +15 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_commerce/special-offers.js +23 -0
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_commerce/trees.js +71 -0
- data/app/assets/stylesheets/forgeos/admin/base.css.sass +3 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_commerce/_all.css.sass +9 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_commerce/_attributes.css.sass +59 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_commerce/_customer.css.sass +84 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_commerce/_delivery.css.sass +81 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_commerce/_dropdowns.css.sass +171 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_commerce/_order.css.sass +208 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_commerce/_payment.css.sass +34 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_commerce/_products.css.sass +341 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_commerce/_special_offers.css.sass +198 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_commerce/_transporters.css.sass +5 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/association_product/style.css.sass +50 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/product-types/style.css.sass +129 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/product_category/style.css.sass +109 -0
- data/app/assets/stylesheets/forgeos/jstree/themes/zone-tree/style.css.sass +103 -0
- data/app/controllers/addresses_controller.rb +51 -0
- data/app/controllers/admin/attributes_controller.rb +161 -0
- data/app/controllers/admin/base_controller.rb +5 -0
- data/app/controllers/admin/brands_controller.rb +119 -0
- data/app/controllers/admin/forms_controller.rb +66 -0
- data/app/controllers/admin/geo_zones_controller.rb +74 -0
- data/app/controllers/admin/import_controller.rb +50 -0
- data/app/controllers/admin/orders_controller.rb +248 -0
- data/app/controllers/admin/product_types_controller.rb +122 -0
- data/app/controllers/admin/products_controller.rb +204 -0
- data/app/controllers/admin/special_offers_controller.rb +236 -0
- data/app/controllers/admin/statistics_controller.rb +64 -0
- data/app/controllers/admin/transporter_rules_controller.rb +307 -0
- data/app/controllers/admin/users_controller.rb +100 -0
- data/app/controllers/admin/vouchers_controller.rb +207 -0
- data/app/controllers/application_controller.rb +75 -0
- data/app/controllers/order_controller.rb +229 -0
- data/app/helpers/admin/payment_fields_helper.rb +31 -0
- data/app/helpers/application_helper.rb +7 -0
- data/app/helpers/cart_helper.rb +40 -0
- data/app/helpers/category_helper.rb +36 -0
- data/app/helpers/product_helper.rb +118 -0
- data/app/helpers/routes_helper.rb +60 -0
- data/app/helpers/wishlist_helper.rb +142 -0
- data/app/models/address_delivery.rb +2 -0
- data/app/models/address_invoice.rb +2 -0
- data/app/models/attribute.rb +38 -0
- data/app/models/attribute_category.rb +3 -0
- data/app/models/attribute_value.rb +10 -0
- data/app/models/brand.rb +22 -0
- data/app/models/brand_category.rb +3 -0
- data/app/models/cart.rb +190 -0
- data/app/models/cart_item.rb +21 -0
- data/app/models/checkbox_attribute.rb +2 -0
- data/app/models/country.rb +4 -0
- data/app/models/cross_sellings_product.rb +4 -0
- data/app/models/currencies_exchanges_rate.rb +2 -0
- data/app/models/currency.rb +13 -0
- data/app/models/date_attribute.rb +2 -0
- data/app/models/dynamic_attribute.rb +6 -0
- data/app/models/dynamic_attribute_value.rb +5 -0
- data/app/models/form.rb +7 -0
- data/app/models/form_attribute.rb +3 -0
- data/app/models/geo_zone.rb +6 -0
- data/app/models/longtext_attribute.rb +2 -0
- data/app/models/number_attribute.rb +2 -0
- data/app/models/order.rb +483 -0
- data/app/models/order_detail.rb +129 -0
- data/app/models/order_shipping.rb +25 -0
- data/app/models/pack.rb +9 -0
- data/app/models/picklist_attribute.rb +2 -0
- data/app/models/product.rb +294 -0
- data/app/models/product_attribute.rb +4 -0
- data/app/models/product_category.rb +9 -0
- data/app/models/product_link.rb +9 -0
- data/app/models/product_price_variation.rb +3 -0
- data/app/models/product_sold_counter.rb +2 -0
- data/app/models/product_sweeper.rb +30 -0
- data/app/models/product_type.rb +27 -0
- data/app/models/product_type_category.rb +3 -0
- data/app/models/product_viewed_counter.rb +2 -0
- data/app/models/products_wishlist.rb +25 -0
- data/app/models/radio_attribute.rb +2 -0
- data/app/models/radiobutton_attribute.rb +2 -0
- data/app/models/setting.rb +46 -0
- data/app/models/size.rb +5 -0
- data/app/models/special_offer_category.rb +3 -0
- data/app/models/special_offer_rule.rb +21 -0
- data/app/models/text_attribute.rb +2 -0
- data/app/models/text_field_attribute.rb +2 -0
- data/app/models/transporter_category.rb +3 -0
- data/app/models/transporter_rule.rb +3 -0
- data/app/models/url_attribute.rb +2 -0
- data/app/models/user.rb +45 -0
- data/app/models/user_address.rb +6 -0
- data/app/models/voucher_category.rb +3 -0
- data/app/models/voucher_rule.rb +3 -0
- data/app/models/wishlist.rb +134 -0
- data/app/views/admin/addresses/_form.html.haml +42 -0
- data/app/views/admin/attributes/_categories.html.haml +7 -0
- data/app/views/admin/attributes/_choice.html.haml +24 -0
- data/app/views/admin/attributes/_date.html.haml +5 -0
- data/app/views/admin/attributes/_form.html.haml +36 -0
- data/app/views/admin/attributes/_longtext.html.haml +5 -0
- data/app/views/admin/attributes/_number.html.haml +5 -0
- data/app/views/admin/attributes/_tabs.html.haml +6 -0
- data/app/views/admin/attributes/_text.html.haml +5 -0
- data/app/views/admin/attributes/_url.html.haml +5 -0
- data/app/views/admin/attributes/destroy.js.erb +1 -0
- data/app/views/admin/attributes/edit.html.haml +2 -0
- data/app/views/admin/attributes/index.html.haml +33 -0
- data/app/views/admin/attributes/index.json.erb +24 -0
- data/app/views/admin/attributes/new.html.haml +2 -0
- data/app/views/admin/attributes/show.html.haml +51 -0
- data/app/views/admin/brands/_form.html.haml +29 -0
- data/app/views/admin/brands/_tabs.html.haml +6 -0
- data/app/views/admin/brands/destroy.js.erb +1 -0
- data/app/views/admin/brands/edit.html.haml +2 -0
- data/app/views/admin/brands/index.html.haml +15 -0
- data/app/views/admin/brands/index.json.erb +23 -0
- data/app/views/admin/brands/new.html.haml +2 -0
- data/app/views/admin/dashboard/index.html.haml +230 -0
- data/app/views/admin/forms/_form.html.haml +38 -0
- data/app/views/admin/forms/_tabs.html.haml +6 -0
- data/app/views/admin/forms/destroy.js.erb +1 -0
- data/app/views/admin/forms/edit.html.haml +2 -0
- data/app/views/admin/forms/index.html.haml +11 -0
- data/app/views/admin/forms/index.json.erb +20 -0
- data/app/views/admin/forms/new.html.haml +2 -0
- data/app/views/admin/geo_zones/_form.html.haml +20 -0
- data/app/views/admin/geo_zones/_list.html.haml +9 -0
- data/app/views/admin/geo_zones/edit.html.haml +3 -0
- data/app/views/admin/geo_zones/index.html.haml +49 -0
- data/app/views/admin/geo_zones/new.html.haml +3 -0
- data/app/views/admin/geo_zones/show.html.haml +4 -0
- data/app/views/admin/import/create_product.html.haml +2 -0
- data/app/views/admin/menus/_types_popups.html.haml +22 -0
- data/app/views/admin/orders/_address_form.html.haml +29 -0
- data/app/views/admin/orders/_form.html.haml +198 -0
- data/app/views/admin/orders/_list.html.haml +29 -0
- data/app/views/admin/orders/_products_popup.html.haml +15 -0
- data/app/views/admin/orders/create.html.haml +1 -0
- data/app/views/admin/orders/destroy.js.erb +1 -0
- data/app/views/admin/orders/edit.html.haml +1 -0
- data/app/views/admin/orders/index.html.haml +24 -0
- data/app/views/admin/orders/index.json.erb +48 -0
- data/app/views/admin/orders/show.html.haml +130 -0
- data/app/views/admin/product_types/_form.html.haml +46 -0
- data/app/views/admin/product_types/_list.html.haml +6 -0
- data/app/views/admin/product_types/_options_categories.html.haml +19 -0
- data/app/views/admin/product_types/_tabs.html.haml +6 -0
- data/app/views/admin/product_types/destroy.js.erb +1 -0
- data/app/views/admin/product_types/edit.html.haml +3 -0
- data/app/views/admin/product_types/index.html.haml +14 -0
- data/app/views/admin/product_types/index.json.erb +24 -0
- data/app/views/admin/product_types/new.html.haml +3 -0
- data/app/views/admin/product_types/show.html.haml +23 -0
- data/app/views/admin/products/_attributes.html.haml +37 -0
- data/app/views/admin/products/_cross_popup.html.haml +56 -0
- data/app/views/admin/products/_cross_sell_tr.html.haml +13 -0
- data/app/views/admin/products/_cross_sells.html.haml +1 -0
- data/app/views/admin/products/_form.html.haml +26 -0
- data/app/views/admin/products/_general.html.haml +153 -0
- data/app/views/admin/products/_list.html.haml +18 -0
- data/app/views/admin/products/_prices.html.haml +17 -0
- data/app/views/admin/products/_products_popup.html.haml +41 -0
- data/app/views/admin/products/_seo.html.haml +75 -0
- data/app/views/admin/products/_shippings.html.haml +0 -0
- data/app/views/admin/products/_sizes.html.haml +23 -0
- data/app/views/admin/products/_tabs.html.haml +2 -0
- data/app/views/admin/products/activate.js.erb +1 -0
- data/app/views/admin/products/destroy.js.erb +1 -0
- data/app/views/admin/products/edit.html.haml +1 -0
- data/app/views/admin/products/index.html.haml +20 -0
- data/app/views/admin/products/index.json.erb +65 -0
- data/app/views/admin/products/new.html.haml +1 -0
- data/app/views/admin/products/show.html.haml +158 -0
- data/app/views/admin/settings/_colissimo.html.haml +7 -0
- data/app/views/admin/settings/_godfather.html.haml +11 -0
- data/app/views/admin/settings/_google_shopping.html.haml +5 -0
- data/app/views/admin/settings/_payment.html.haml +63 -0
- data/app/views/admin/settings/_tabs.html.haml +5 -0
- data/app/views/admin/settings/edit.html.haml +33 -0
- data/app/views/admin/special_offers/_form.html.haml +88 -0
- data/app/views/admin/special_offers/_patterns.html.haml +151 -0
- data/app/views/admin/special_offers/_tabs.html.haml +5 -0
- data/app/views/admin/special_offers/_top_links.html.haml +6 -0
- data/app/views/admin/special_offers/activate.js.erb +1 -0
- data/app/views/admin/special_offers/destroy.js.erb +1 -0
- data/app/views/admin/special_offers/edit.html.haml +4 -0
- data/app/views/admin/special_offers/index.html.haml +15 -0
- data/app/views/admin/special_offers/index.json.erb +28 -0
- data/app/views/admin/special_offers/new.html.haml +2 -0
- data/app/views/admin/special_offers/show.html.haml +28 -0
- data/app/views/admin/special_offers/special_offer.html.haml +166 -0
- data/app/views/admin/statistics/index.html.haml +158 -0
- data/app/views/admin/transporter_rules/_delivery_rules.html.haml +83 -0
- data/app/views/admin/transporter_rules/_form.html.haml +90 -0
- data/app/views/admin/transporter_rules/_left_sidebar.html.haml +9 -0
- data/app/views/admin/transporter_rules/_sidebar.html.haml +10 -0
- data/app/views/admin/transporter_rules/_tabs.html.haml +8 -0
- data/app/views/admin/transporter_rules/activate.js.erb +1 -0
- data/app/views/admin/transporter_rules/destroy.js.erb +1 -0
- data/app/views/admin/transporter_rules/edit.html.haml +1 -0
- data/app/views/admin/transporter_rules/index.html.haml +13 -0
- data/app/views/admin/transporter_rules/index.json.erb +30 -0
- data/app/views/admin/transporter_rules/new.html.haml +1 -0
- data/app/views/admin/transporter_rules/show.html.haml +30 -0
- data/app/views/admin/users/_fields_for_addresses_deliveries.html.haml +38 -0
- data/app/views/admin/users/_fields_for_addresses_invoices.html.haml +34 -0
- data/app/views/admin/users/_form.html.haml +88 -0
- data/app/views/admin/users/edit.json.erb +35 -0
- data/app/views/admin/users/index.html.haml +12 -0
- data/app/views/admin/users/index.json.erb +32 -0
- data/app/views/admin/users/index2.html.haml +33 -0
- data/app/views/admin/users/show.html.haml +72 -0
- data/app/views/admin/vouchers/_form.html.haml +92 -0
- data/app/views/admin/vouchers/_tabs.html.haml +3 -0
- data/app/views/admin/vouchers/activate.js.erb +1 -0
- data/app/views/admin/vouchers/destroy.js.erb +1 -0
- data/app/views/admin/vouchers/index.html.haml +15 -0
- data/app/views/admin/vouchers/index.json.erb +28 -0
- data/app/views/admin/vouchers/new.html.haml +2 -0
- data/config/locales/activerecord/en.yml +6 -0
- data/config/locales/activerecord/fr.yml +18 -0
- data/config/locales/admin/address/en.yml +3 -0
- data/config/locales/admin/address/fr.yml +3 -0
- data/config/locales/admin/attribute/en.yml +76 -0
- data/config/locales/admin/attribute/fr.yml +75 -0
- data/config/locales/admin/brands/en.yml +24 -0
- data/config/locales/admin/brands/fr.yml +27 -0
- data/config/locales/admin/dashboard/en.yml +6 -0
- data/config/locales/admin/dashboard/fr.yml +6 -0
- data/config/locales/admin/order/en.yml +54 -0
- data/config/locales/admin/order/fr.yml +54 -0
- data/config/locales/admin/product/en.yml +105 -0
- data/config/locales/admin/product/fr.yml +106 -0
- data/config/locales/admin/settings/en.yml +90 -0
- data/config/locales/admin/settings/fr.yml +87 -0
- data/config/locales/admin/special_offer/en.yml +59 -0
- data/config/locales/admin/special_offer/fr.yml +60 -0
- data/config/locales/admin/transporter/en.yml +36 -0
- data/config/locales/admin/transporter/fr.yml +36 -0
- data/config/locales/admin/voucher/en.yml +3 -0
- data/config/locales/admin/voucher/fr.yml +3 -0
- data/config/locales/admin/wishlist/en.yml +89 -0
- data/config/locales/admin/wishlist/fr.yml +89 -0
- data/config/locales/common/en.yml +424 -0
- data/config/locales/common/fr.yml +422 -0
- data/config/routes.rb +109 -0
- data/config/search.example.yml +8 -0
- data/db/fixtures/currencies.yml +10 -0
- data/db/fixtures/currencies_exchanges_rates.yml +9 -0
- data/db/fixtures/page_translations.yml +11 -0
- data/db/fixtures/pages.yml +5 -0
- data/db/fixtures/people.yml +11 -0
- data/db/fixtures/product_type_translations.yml +11 -0
- data/db/fixtures/product_types.yml +2 -0
- data/db/migrate/20091009134433_create_attribute_values.rb +15 -0
- data/db/migrate/20091009134440_create_attribute_values_products.rb +14 -0
- data/db/migrate/20091009134448_create_attributes.rb +17 -0
- data/db/migrate/20091009134455_create_attributes_product_types.rb +14 -0
- data/db/migrate/20091009134525_create_carts.rb +15 -0
- data/db/migrate/20091009134532_create_cart_items.rb +14 -0
- data/db/migrate/20091009134609_create_cross_sellings_products.rb +11 -0
- data/db/migrate/20091009134616_create_currencies.rb +15 -0
- data/db/migrate/20091009134624_create_currencies_exchanges_rates.rb +13 -0
- data/db/migrate/20091009134631_create_dynamic_attribute_values.rb +17 -0
- data/db/migrate/20091009134659_create_order_details.rb +24 -0
- data/db/migrate/20091009134706_create_order_shippings.rb +16 -0
- data/db/migrate/20091009134714_create_orders.rb +21 -0
- data/db/migrate/20091009134721_create_packs_products.rb +13 -0
- data/db/migrate/20091009134805_create_product_types.rb +11 -0
- data/db/migrate/20091009134813_create_products.rb +37 -0
- data/db/migrate/20091009134821_create_products_wishlists.rb +13 -0
- data/db/migrate/20091009134947_create_wishlists.rb +12 -0
- data/db/migrate/20100323143123_create_geo_zones_transporter_rules.rb +12 -0
- data/db/migrate/20100414090950_create_brands.rb +15 -0
- data/db/migrate/20100414091706_create_sizes.rb +15 -0
- data/db/migrate/20100928123009_add_patronage_to_people.rb +20 -0
- data/db/migrate/20101007074306_create_product_price_variations.rb +13 -0
- data/db/migrate/20110311111210_create_forms.rb +13 -0
- data/db/migrate/20110311112646_attributes_forms.rb +13 -0
- data/db/migrate/20110322165950_add_payment_methods_to_settings.rb +13 -0
- data/db/migrate/20110405084454_add_colissimo_methods_to_settings.rb +13 -0
- data/db/migrate/20110516075553_add_google_infos_to_settings.rb +11 -0
- data/db/migrate/20110831164213_add_order_fields_to_addresses.rb +9 -0
- data/lib/CMCIC_Config.rb +16 -0
- data/lib/CMCIC_Tpe.rb +227 -0
- data/lib/forgeos/commerce.rb +9 -0
- data/lib/forgeos/commerce/admin_menu.rb +28 -0
- data/lib/forgeos/commerce/engine.rb +11 -0
- data/lib/forgeos/commerce/float.rb +10 -0
- data/lib/forgeos/commerce/statistics.rb +62 -0
- data/lib/forgeos/commerce/version.rb +5 -0
- data/lib/forgeos_commerce.rb +1 -0
- data/lib/special_offer.rb +61 -0
- data/lib/tasks/install.rake +9 -0
- data/lib/transporter.rb +26 -0
- data/lib/voucher.rb +41 -0
- data/recipes/deploy.rb +15 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +9 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +42 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +27 -0
- data/test/dummy/config/environments/production.rb +51 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/forgeos_commerce_test.rb +7 -0
- data/test/test_helper.rb +10 -0
- metadata +539 -0
@@ -0,0 +1,208 @@
|
|
1
|
+
#order-see .fieldset,
|
2
|
+
#customer-see .fieldset
|
3
|
+
font-size: 0.8em
|
4
|
+
h4
|
5
|
+
padding-top: 2px
|
6
|
+
margin: 2px 0 2px -20px
|
7
|
+
.main-infos, .order-delivery
|
8
|
+
clear: both
|
9
|
+
a
|
10
|
+
color: $blueLink
|
11
|
+
|
12
|
+
.main-infos-note
|
13
|
+
background-color: $lightYellow
|
14
|
+
|
15
|
+
.main-infos div, .order-delivery div
|
16
|
+
+left
|
17
|
+
width: 26%
|
18
|
+
padding: 10px 0 10px 3%
|
19
|
+
|
20
|
+
.main-infos div.main-info-separation, .order-delivery div.main-info-separation
|
21
|
+
height: 90px
|
22
|
+
margin: 15px 3%
|
23
|
+
width: 1px
|
24
|
+
background-color: $whiteGray
|
25
|
+
padding: 0
|
26
|
+
|
27
|
+
#order-see .datatable
|
28
|
+
border: 1px solid $whiteGray
|
29
|
+
margin-bottom: 10px
|
30
|
+
td
|
31
|
+
vertical-align: middle
|
32
|
+
img
|
33
|
+
width: 45px
|
34
|
+
height: 45px
|
35
|
+
border-bottom: 1px solid $whiteGray
|
36
|
+
margin: 5px
|
37
|
+
.total
|
38
|
+
font-weight: bold
|
39
|
+
color: $lightDark
|
40
|
+
|
41
|
+
.order-totals
|
42
|
+
float: right
|
43
|
+
clear: both
|
44
|
+
width: 300px
|
45
|
+
border-bottom: 1px solid $whiteGray
|
46
|
+
padding: 5px
|
47
|
+
font-size: 0.9em
|
48
|
+
line-height: 1.4em
|
49
|
+
color: $lightDark
|
50
|
+
div
|
51
|
+
+left
|
52
|
+
clear: both
|
53
|
+
width: 200px
|
54
|
+
text-align: right
|
55
|
+
margin-right: 10px
|
56
|
+
span
|
57
|
+
&.voucher, &.order_shipping
|
58
|
+
+left
|
59
|
+
.enhanced .dropdown .options
|
60
|
+
text-align: left !important
|
61
|
+
a span
|
62
|
+
color: $blueLink
|
63
|
+
text-transform: none
|
64
|
+
|
65
|
+
.order-subtotal, .order-subtotal-currency
|
66
|
+
font-weight: bold
|
67
|
+
|
68
|
+
.total-block
|
69
|
+
margin-bottom: 10px
|
70
|
+
border: 0
|
71
|
+
|
72
|
+
.order-total, .order-currency
|
73
|
+
font-weight: bold
|
74
|
+
color: $orange
|
75
|
+
font-size: 1.1em
|
76
|
+
|
77
|
+
.payment-checked
|
78
|
+
color: $lightGreen
|
79
|
+
|
80
|
+
.customer-email
|
81
|
+
text-decoration: underline
|
82
|
+
|
83
|
+
#order-see .datatable td input
|
84
|
+
border: 1px solid $darkGray
|
85
|
+
+border-radius(3px)
|
86
|
+
background:
|
87
|
+
position: 0 -600px
|
88
|
+
image: image_url("forgeos/admin/backgrounds-verti.png")
|
89
|
+
repeat: repeat-x
|
90
|
+
padding: 2px 0
|
91
|
+
|
92
|
+
.sku-input
|
93
|
+
width: 110px
|
94
|
+
|
95
|
+
.price-input
|
96
|
+
width: 45px
|
97
|
+
|
98
|
+
.qty-input
|
99
|
+
width: 30px
|
100
|
+
+left
|
101
|
+
|
102
|
+
.more-quantity
|
103
|
+
color: $white
|
104
|
+
background-color: $darkGray
|
105
|
+
+border-radius(2px)
|
106
|
+
width: 10px
|
107
|
+
height: 10px
|
108
|
+
text-align: center
|
109
|
+
line-height: 10px
|
110
|
+
display: block
|
111
|
+
margin-left: 35px
|
112
|
+
outline: none
|
113
|
+
|
114
|
+
.less-quantity
|
115
|
+
color: $white
|
116
|
+
background-color: $darkGray
|
117
|
+
+border-radius(2px)
|
118
|
+
width: 10px
|
119
|
+
height: 10px
|
120
|
+
text-align: center
|
121
|
+
line-height: 10px
|
122
|
+
display: block
|
123
|
+
margin-left: 35px
|
124
|
+
outline: none
|
125
|
+
margin-top: 1px
|
126
|
+
|
127
|
+
#order-see .fieldset .street-input
|
128
|
+
clear: both
|
129
|
+
|
130
|
+
.th_product_popup
|
131
|
+
width: 15% !important
|
132
|
+
|
133
|
+
td.th_product_popup:first-child
|
134
|
+
line-height: 50px
|
135
|
+
.one-product
|
136
|
+
padding: 0 !important
|
137
|
+
float: right
|
138
|
+
|
139
|
+
#table-order-details
|
140
|
+
td, th
|
141
|
+
&.actions
|
142
|
+
width: 17px !important
|
143
|
+
|
144
|
+
//--------------------- ----------
|
145
|
+
// TREE
|
146
|
+
//--------------------- ----------
|
147
|
+
.a-tree
|
148
|
+
ul
|
149
|
+
padding-left: 10px
|
150
|
+
display: block
|
151
|
+
li
|
152
|
+
display: block
|
153
|
+
margin: 2px 0
|
154
|
+
position: relative
|
155
|
+
a
|
156
|
+
background-position: 0 -272px
|
157
|
+
padding: 3px 24px
|
158
|
+
color: $darkBrown
|
159
|
+
font-weight: bold
|
160
|
+
font-size: 0.8em
|
161
|
+
display: block
|
162
|
+
position: relative
|
163
|
+
span
|
164
|
+
height: 13px
|
165
|
+
width: 19px
|
166
|
+
font-size: 0.7em
|
167
|
+
background-image: image_url("forgeos/jstree/themes/product_category/bubble-quantity-products.png")
|
168
|
+
background-repeat: no-repeat
|
169
|
+
background-position: -1px -4px
|
170
|
+
text-align: center
|
171
|
+
color: $darkBrown
|
172
|
+
position: absolute
|
173
|
+
right: 10px
|
174
|
+
top: 3px
|
175
|
+
line-height: 1.5em
|
176
|
+
padding: 0 5px 2px 1px
|
177
|
+
&:hover, &.hover
|
178
|
+
color: $orange
|
179
|
+
span.colours
|
180
|
+
display: block
|
181
|
+
width: 16px
|
182
|
+
height: 16px
|
183
|
+
position: absolute
|
184
|
+
top: 5px
|
185
|
+
left: 0
|
186
|
+
+border-radius(4px)
|
187
|
+
&.unpaid
|
188
|
+
background:
|
189
|
+
color: $unpaid
|
190
|
+
&.waiting_for_cheque
|
191
|
+
background:
|
192
|
+
color: #5b4681
|
193
|
+
&.paid
|
194
|
+
background:
|
195
|
+
color: $paid
|
196
|
+
&.shipped
|
197
|
+
background:
|
198
|
+
color: $shipped
|
199
|
+
&.closed
|
200
|
+
background:
|
201
|
+
color: $closed
|
202
|
+
&.canceled
|
203
|
+
background:
|
204
|
+
color: $canceled
|
205
|
+
|
206
|
+
#customer-see
|
207
|
+
.small-td
|
208
|
+
width: 20px !important
|
@@ -0,0 +1,34 @@
|
|
1
|
+
#accordion_payments
|
2
|
+
label
|
3
|
+
color: #444444
|
4
|
+
.ui-accordion-header
|
5
|
+
padding-left: 30px
|
6
|
+
line-height: 30px
|
7
|
+
text-transform: uppercase
|
8
|
+
&.ui-state-active
|
9
|
+
background: #aaaaaa
|
10
|
+
font-weight: bold
|
11
|
+
input[type="text"]
|
12
|
+
+border-radius(3px)
|
13
|
+
background:
|
14
|
+
image: image_url("forgeos/admin/backgrounds-verti.png")
|
15
|
+
position: 0 -600px
|
16
|
+
repeat: repeat-x
|
17
|
+
border: 1px solid #999999
|
18
|
+
padding: 2px 0
|
19
|
+
.grid_7
|
20
|
+
input[type="text"]
|
21
|
+
width: 100%
|
22
|
+
h4
|
23
|
+
background:
|
24
|
+
color: #aaaaaa
|
25
|
+
padding: 5px
|
26
|
+
margin: 10px 0
|
27
|
+
.cheque_message
|
28
|
+
float: left
|
29
|
+
.tool-tip-settings
|
30
|
+
float: right
|
31
|
+
width: 200px
|
32
|
+
ol
|
33
|
+
margin-left: 5px
|
34
|
+
padding-left: 5px
|
@@ -0,0 +1,341 @@
|
|
1
|
+
//--------------------- ----------
|
2
|
+
// PRODUCT BUTTONS
|
3
|
+
//--------------------- ----------
|
4
|
+
.add-products
|
5
|
+
text-align: center
|
6
|
+
font-size: 0.8em
|
7
|
+
font-weight: bold
|
8
|
+
line-height: 40px
|
9
|
+
border-top: 1px solid $contentHeaderBorder
|
10
|
+
border-bottom: 1px solid $contentHeaderBorder
|
11
|
+
padding: 0
|
12
|
+
height: 40px
|
13
|
+
a
|
14
|
+
+block
|
15
|
+
width: 100%
|
16
|
+
margin: auto
|
17
|
+
color: $lightGray
|
18
|
+
span
|
19
|
+
background-position: 0px -5px
|
20
|
+
padding-left: 25px
|
21
|
+
|
22
|
+
//--------------------- ----------
|
23
|
+
// PRODUCT COMMONS
|
24
|
+
//--------------------- ----------
|
25
|
+
#product-filter
|
26
|
+
padding: 10px
|
27
|
+
background-color: #f2f2f2
|
28
|
+
font-size: 0.7em
|
29
|
+
height: 22px
|
30
|
+
input
|
31
|
+
border: 1px solid $contentHeaderBorder
|
32
|
+
padding: 3px
|
33
|
+
margin: 0px 5px
|
34
|
+
+left
|
35
|
+
select
|
36
|
+
margin: 0px 5px
|
37
|
+
+left
|
38
|
+
.enhanced .dropdown
|
39
|
+
width: 170px
|
40
|
+
min-width: 170px
|
41
|
+
margin-left: 15px
|
42
|
+
a
|
43
|
+
padding-right: 14px
|
44
|
+
span
|
45
|
+
color: $black
|
46
|
+
text-transform: none
|
47
|
+
|
48
|
+
.wrap
|
49
|
+
width: 683px
|
50
|
+
height: 90px
|
51
|
+
overflow: hidden
|
52
|
+
+left
|
53
|
+
|
54
|
+
#existing-products
|
55
|
+
display: none
|
56
|
+
position: relative
|
57
|
+
table
|
58
|
+
width: 94% !important
|
59
|
+
margin-left: 17px
|
60
|
+
tr
|
61
|
+
width: 100%
|
62
|
+
td
|
63
|
+
width: 33%
|
64
|
+
padding: 6px
|
65
|
+
a
|
66
|
+
color: $blueLink
|
67
|
+
line-height: 25px
|
68
|
+
height: 25px
|
69
|
+
font-size: 0.9em
|
70
|
+
img
|
71
|
+
border: 1px solid $contentHeaderBorder
|
72
|
+
width: 25px
|
73
|
+
height: 25px
|
74
|
+
+left
|
75
|
+
span
|
76
|
+
+left
|
77
|
+
margin-left: 10px
|
78
|
+
.odd
|
79
|
+
background: none
|
80
|
+
|
81
|
+
a.product-type-link
|
82
|
+
color: $blueLink
|
83
|
+
text-decoration: underline
|
84
|
+
|
85
|
+
.block-container
|
86
|
+
.block-type
|
87
|
+
width: 130px
|
88
|
+
.block-name
|
89
|
+
padding: 5px
|
90
|
+
color: $blueLink
|
91
|
+
+block
|
92
|
+
margin-left: 150px
|
93
|
+
background: $white
|
94
|
+
.file-size
|
95
|
+
color: $greenBlue
|
96
|
+
a
|
97
|
+
color: $blueLink
|
98
|
+
|
99
|
+
#product
|
100
|
+
font-size: 0.7em
|
101
|
+
color: $lightGray
|
102
|
+
input
|
103
|
+
+left
|
104
|
+
clear: left
|
105
|
+
border: 1px solid #b2b2b2
|
106
|
+
+border-radius(3px)
|
107
|
+
background-position: 0 -595px
|
108
|
+
color: $lightGray
|
109
|
+
label
|
110
|
+
+left
|
111
|
+
clear: left
|
112
|
+
margin-top: 10px
|
113
|
+
.enhanced,
|
114
|
+
select
|
115
|
+
clear: left
|
116
|
+
float: left
|
117
|
+
#price
|
118
|
+
color: $lightGreen
|
119
|
+
.tool-tip-content
|
120
|
+
.content
|
121
|
+
input
|
122
|
+
width: 50px
|
123
|
+
+left
|
124
|
+
clear: none
|
125
|
+
margin-left: 10px
|
126
|
+
label
|
127
|
+
margin-top: 0
|
128
|
+
.block-container
|
129
|
+
margin: 5px 0
|
130
|
+
border: 1px solid $contentHeaderBorder
|
131
|
+
|
132
|
+
.inner-step.weight
|
133
|
+
color: $greenBlue
|
134
|
+
font-size: 0.9em
|
135
|
+
|
136
|
+
.product_weight
|
137
|
+
+border-radius(3px)
|
138
|
+
border: 1px solid $contentHeaderBorder
|
139
|
+
clear: left
|
140
|
+
color: $lightGray
|
141
|
+
width: 50px
|
142
|
+
margin-right: 10px
|
143
|
+
|
144
|
+
sup.required
|
145
|
+
color: red
|
146
|
+
|
147
|
+
#stock-keeping
|
148
|
+
width: 200px
|
149
|
+
|
150
|
+
.sortable
|
151
|
+
padding: 0
|
152
|
+
margin: 0
|
153
|
+
|
154
|
+
//--------------------- ----------
|
155
|
+
// PRODUCT SEE
|
156
|
+
//--------------------- ----------
|
157
|
+
#product-see
|
158
|
+
.block-container
|
159
|
+
border-width: 0
|
160
|
+
background-color: transparent
|
161
|
+
font-size: 0.9em
|
162
|
+
.block-type
|
163
|
+
display: inline
|
164
|
+
width: auto
|
165
|
+
padding: 1px 4px
|
166
|
+
margin-top: 4px
|
167
|
+
.block-separator
|
168
|
+
border-top: 1px solid #fafafa
|
169
|
+
border-bottom: 1px solid #eaeaea
|
170
|
+
border-left: 0
|
171
|
+
border-right: 0
|
172
|
+
height: 1px
|
173
|
+
margin: -2px 0
|
174
|
+
.block-container .block-name
|
175
|
+
margin-left: 40px
|
176
|
+
.panel
|
177
|
+
margin: -25px 0 5px 15px
|
178
|
+
.option-panel-content
|
179
|
+
padding: 0 15px
|
180
|
+
.description
|
181
|
+
clear: both
|
182
|
+
margin-bottom: 10px
|
183
|
+
em
|
184
|
+
font-style: normal
|
185
|
+
font-weight: bold
|
186
|
+
font-size: 1.1em
|
187
|
+
p
|
188
|
+
margin: 2px 0
|
189
|
+
#product-images ul li
|
190
|
+
margin: 5px
|
191
|
+
.featured
|
192
|
+
background-color: $whiteGray
|
193
|
+
border: 1px solid $whiteGray - #010101
|
194
|
+
margin-top: -5px
|
195
|
+
padding: 3px 0
|
196
|
+
width: 158px
|
197
|
+
text-align: center
|
198
|
+
text-transform: uppercase
|
199
|
+
|
200
|
+
//--------------------- ----------
|
201
|
+
// PRODUCT IMAGES
|
202
|
+
//--------------------- ----------
|
203
|
+
#featured-picture
|
204
|
+
background-color: $lightGreenBg
|
205
|
+
color: $white
|
206
|
+
font-size: 0.9em
|
207
|
+
padding: 5px
|
208
|
+
text-transform: uppercase
|
209
|
+
text-align: center
|
210
|
+
margin-top: 10px
|
211
|
+
|
212
|
+
#product-images
|
213
|
+
li
|
214
|
+
+left
|
215
|
+
position: relative
|
216
|
+
width: 50px
|
217
|
+
height: 65px
|
218
|
+
margin: 5px 2px 0 0
|
219
|
+
&.clear
|
220
|
+
height: 0px
|
221
|
+
img
|
222
|
+
width: 50px
|
223
|
+
height: 50px
|
224
|
+
border: 1px solid $contentHeaderBorder
|
225
|
+
&.first-image
|
226
|
+
width: 100%
|
227
|
+
height: 100%
|
228
|
+
img
|
229
|
+
width: 158px
|
230
|
+
height: 158px
|
231
|
+
.trash, .edit
|
232
|
+
display: block
|
233
|
+
position: absolute
|
234
|
+
height: 0
|
235
|
+
width: 0
|
236
|
+
padding: 0
|
237
|
+
top: 1px
|
238
|
+
.trash
|
239
|
+
background-position: 0 -879px
|
240
|
+
left: 24px
|
241
|
+
.edit
|
242
|
+
background-position: 0 -824px
|
243
|
+
left: 1px
|
244
|
+
&:hover
|
245
|
+
.trash, .edit
|
246
|
+
height: 24px !important
|
247
|
+
width: 24px !important
|
248
|
+
.handler
|
249
|
+
background-color: #f2f2f2
|
250
|
+
border: 1px solid $contentHeaderBorder
|
251
|
+
margin-top: -5px
|
252
|
+
padding: 3px 0
|
253
|
+
width: 100%
|
254
|
+
.inner
|
255
|
+
background-image: image_url("forgeos/admin/backgrounds/drag-and-drop.png")
|
256
|
+
background-repeat: repeat
|
257
|
+
height: 6px
|
258
|
+
margin: 0 3px
|
259
|
+
.button
|
260
|
+
clear: both
|
261
|
+
width: 110px
|
262
|
+
margin: auto
|
263
|
+
font-size: 0.9em
|
264
|
+
+block
|
265
|
+
|
266
|
+
//--------------------- ----------
|
267
|
+
// PRODUCT PRICES
|
268
|
+
//--------------------- ----------
|
269
|
+
.prices
|
270
|
+
margin: 10px 0
|
271
|
+
.normal-price, .promo, .stock
|
272
|
+
border: 1px solid $contentHeaderBorder
|
273
|
+
padding: 5px
|
274
|
+
font-size: 1.3em
|
275
|
+
+block
|
276
|
+
+left
|
277
|
+
.normal-price
|
278
|
+
border-right: 0
|
279
|
+
background: $white
|
280
|
+
color: $black
|
281
|
+
font-weight: bold
|
282
|
+
.promo
|
283
|
+
text-decoration: line-through
|
284
|
+
background: $whiteGray
|
285
|
+
color: $lightGray
|
286
|
+
border-left: 0
|
287
|
+
.stock
|
288
|
+
background-color: $lightGreen
|
289
|
+
color: $white
|
290
|
+
margin: 1px 15px
|
291
|
+
padding: 9px
|
292
|
+
border: 0
|
293
|
+
font-size: 0.9em
|
294
|
+
|
295
|
+
#price,
|
296
|
+
#compared-price
|
297
|
+
font-size: 1.7em
|
298
|
+
font-weight: bold
|
299
|
+
|
300
|
+
#compared-price
|
301
|
+
color: $orangeRed
|
302
|
+
text-decoration: line-through
|
303
|
+
|
304
|
+
.currency
|
305
|
+
position: absolute
|
306
|
+
bottom: 0
|
307
|
+
right: 85px
|
308
|
+
|
309
|
+
//--------------------- ----------
|
310
|
+
// PRODUCT TREE
|
311
|
+
//--------------------- ----------
|
312
|
+
#product-types-options-tree
|
313
|
+
margin-top: 20px
|
314
|
+
margin-left: 20px
|
315
|
+
height: 50px
|
316
|
+
li
|
317
|
+
background-color: $whiteGray - #080808
|
318
|
+
+border-radius(3px)
|
319
|
+
padding-left: 40px
|
320
|
+
border: 1px solid $whiteGray - #010101
|
321
|
+
&.open
|
322
|
+
background: image_url("dark-blue-minus.png") 0 0 no-repeat
|
323
|
+
&.closed
|
324
|
+
background: image_url("dark-blue-plus.png") 0 1px no-repeat
|
325
|
+
a
|
326
|
+
padding: 0 5px 0 24px
|
327
|
+
color: $lightGray
|
328
|
+
font-weight: bold
|
329
|
+
font-size: 1em
|
330
|
+
height: 20px
|
331
|
+
position: relative
|
332
|
+
background-color: $white
|
333
|
+
+block
|
334
|
+
&:hover
|
335
|
+
background-color: $white
|
336
|
+
|
337
|
+
//--------------------- ----------
|
338
|
+
// SOME VARIANTS
|
339
|
+
//--------------------- ----------
|
340
|
+
.stocks, .some-variants .stocks p
|
341
|
+
color: $lightGreen
|