Class: Www::TowelWarmersPresenter Deprecated
- Inherits:
-
BasePresenter
- Object
- BasePresenter
- Www::TowelWarmersPresenter
- Includes:
- ApplicationHelper, Memery, Presenters::ProductHelpers
- Defined in:
- app/presenters/www/towel_warmers_presenter.rb
Overview
Use Www::TowelWarmersController instead
This presenter is deprecated and should no longer be used.
The towel warmer product grid has been refactored to use:
- Www::TowelWarmersController - server-side Ransack filtering
- Www::ProductCardsComponent - standard product card rendering
- Database-driven product data from ViewProductCatalog
This file is kept temporarily for reference during transition.
Safe to remove once the new implementation is verified in production.
Constant Summary
Constants included from ApplicationHelper
ApplicationHelper::CF_WEB_ANALYTICS_SKIP_PATHS, ApplicationHelper::MARKDOWN_ALLOWED_ATTRIBUTES, ApplicationHelper::MARKDOWN_ALLOWED_TAGS
Constants included from SeoHelper
SeoHelper::AWARDS, SeoHelper::CA_ADDRESS, SeoHelper::CA_BUSINESS_HOURS, SeoHelper::CA_CONTACT_POINT, SeoHelper::CA_CURRENCIES, SeoHelper::CA_DESCRIPTION, SeoHelper::CA_FOUNDING_DATE, SeoHelper::CA_GLOBAL_LOCATION_NUMBER, SeoHelper::CA_LEGAL_NAME, SeoHelper::CA_LOCAL_BUSINESS, SeoHelper::CA_ONLINE_STORE, SeoHelper::CA_RETURN_POLICY, SeoHelper::CA_SALES_DEPARTMENT, SeoHelper::CA_SERVICE_AREA, SeoHelper::CA_URL, SeoHelper::CA_VAT_ID, SeoHelper::CA_WAREHOUSE_DEPARTMENT, SeoHelper::CA_WAREHOUSE_HOURS, SeoHelper::COMPANY_EMAIL, SeoHelper::COMPANY_LOGO, SeoHelper::COMPANY_NAME, SeoHelper::COMPANY_SLOGAN, SeoHelper::EXPERTISE, SeoHelper::FAX_NUMBER, SeoHelper::GS1_COMPANY_PREFIX, SeoHelper::ISO6523_CODE, SeoHelper::PAYMENT_METHODS, SeoHelper::PHONE_NUMBER, SeoHelper::PRIMARY_NAICS, SeoHelper::REFUND_TYPE, SeoHelper::RETURN_FEES, SeoHelper::RETURN_METHOD, SeoHelper::RETURN_POLICY_CATEGORY, SeoHelper::SECONDARY_NAICS, SeoHelper::SOCIAL_PROFILES, SeoHelper::US_ADDRESS, SeoHelper::US_BUSINESS_HOURS, SeoHelper::US_CONTACT_POINT, SeoHelper::US_CURRENCIES, SeoHelper::US_DESCRIPTION, SeoHelper::US_FOUNDING_DATE, SeoHelper::US_GLOBAL_LOCATION_NUMBER, SeoHelper::US_IMAGE, SeoHelper::US_LEGAL_NAME, SeoHelper::US_LOCAL_BUSINESS, SeoHelper::US_ONLINE_STORE, SeoHelper::US_RETURN_POLICY, SeoHelper::US_SALES_DEPARTMENT, SeoHelper::US_SERVICE_AREA, SeoHelper::US_TAX_ID, SeoHelper::US_URL, SeoHelper::US_WAREHOUSE_DEPARTMENT, SeoHelper::US_WAREHOUSE_HOURS
Constants included from IconHelper
IconHelper::CUSTOM_ICON_MAP, IconHelper::CUSTOM_SVG_DIR, IconHelper::DEFAULT_FAMILY
Instance Attribute Summary collapse
-
#grouped_products ⇒ Object
readonly
Returns the value of attribute grouped_products.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#products ⇒ Object
readonly
Returns the value of attribute products.
-
#products_by_sku ⇒ Object
readonly
Returns the value of attribute products_by_sku.
-
#url_helper ⇒ Object
readonly
Returns the value of attribute url_helper.
Delegated Instance Attributes collapse
-
#capture ⇒ Object
Alias for H#capture.
-
#concat ⇒ Object
Alias for H#concat.
-
#content_tag ⇒ Object
Alias for H#content_tag.
-
#fa_icon ⇒ Object
Alias for H#fa_icon.
-
#link_to ⇒ Object
Alias for H#link_to.
-
#number_to_currency ⇒ Object
Alias for H#number_to_currency.
Instance Method Summary collapse
-
#add_skus(option) ⇒ Array<String>
Populates the option's :skus list from the grouped products.
-
#add_special_offers(option) ⇒ Hash
Adds special-offer annotations (on-sale, refurbished) to the option hash.
- #barcelona ⇒ Object
- #bellagio ⇒ Object
- #catalog_link_for_line_from_skus(skus) ⇒ Object
- #catalog_link_for_sku(sku) ⇒ Object
- #elements ⇒ Object
- #featured_promo ⇒ Object
- #generate_options(limit: nil) ⇒ Object
- #grande ⇒ Object
- #group_products(products) ⇒ Object
- #h ⇒ Object
-
#ibiza ⇒ Object
def huron { id: 'huron', skus: ['TWS1-HRN08BH', 'TWS1-HRN08ZH'], thumbnail_alt: 'Wall Mounted towel warmer: Huron', link: catalog_link_for_line_from_skus(%w[TWS1-HRN08BH TWS1-HRN08ZH]), title: 'Huron', photo_gallery: [ 'tws1-hrn08bh-huron-towel-warmer-brushed-hardwired-8-bars-46380e.jpeg' ], short_description: 'Comes with 8 heated bars and a non-heating storage shelf, which also doubles as the top set of mounting brackets for the towel warmer.', description: ['The Huron towel warmer features an innovative design and a high level of performance. The 8 heated bars of the Huron will deliver a heat output of 307 BTUs per hour which will not only warm your towels and bathrobes but also heat them between uses. The non-heating storage shelf at the top of the unit is perfect for storing extra towels.', 'Each Huron Towel Warmer comes with a 5-year warranty.'], feature: ['8 heated round bars', 'Integrated non-heating storage shelf ', '15 – 20 minutes to reach max surface temperature', 'Available in brushed stainless steel', 'Hardwires into a 120-volt circuit', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'elevate', style: ['shelf'], width: ['21-in-25-in'], height: ['29-in-38-in'], wattage: ['35-w-99-w'], depth: ['7-in-10-in'], features: ['overheat-protection'], finishes: [ { id: 'brushed-stainless-steel', thumbnail: 'tws1-hrn08bh-huron-towel-warmer-brushed-hardwired-8-bars-46380e.jpeg', link: catalog_link_for_sku("TWS1-HRN08BH") } ] } end.
- #infinity ⇒ Object
-
#initialize(view = nil, options = nil) ⇒ TowelWarmersPresenter
constructor
A new instance of TowelWarmersPresenter.
- #load_products ⇒ Object
-
#london ⇒ Object
The london is obsolete but you never know.
- #malta ⇒ Object
- #maple ⇒ Object
- #maui ⇒ Object
- #metropolitan ⇒ Object
- #milan ⇒ Object
- #ontario ⇒ Object
- #palma ⇒ Object
- #riviera ⇒ Object
- #rome ⇒ Object
- #sierra ⇒ Object
- #summit ⇒ Object
- #tahoe ⇒ Object
- #vancouver ⇒ Object
- #vida ⇒ Object
Methods included from ApplicationHelper
#better_number_to_currency, #cf_web_analytics?, #check_or_cross, #check_or_times, #embedded_tab_frame_id, #error_messages, #general_disclaimer_on_product_installation_and_local_codes, #markdown_to_html, #parent_layout, #pass_or_fail, #render_error_messages_list, #render_video_card, #resolved_auth_form_turbo_frame, #return_path_or, #safe_css_color, #set_return_path_if_present, #set_section_if_present, #tab_frame_id, #to_underscore, #turbo_section_wrapper, #turbo_tabs_request?, #url_on_same_domain_as_request, #working_hours?, #yes_or_no, #yes_or_no_highlighted, #yes_or_no_with_check_or_cross
Methods included from UppyUploaderHelper
#file_uploader, #image_uploader, #large_file_uploader_s3, #lead_sketch_uploader, #public_warranty_card_uploader, #rma_image_uploader, #rma_image_uploader_s3, #uppy_uploader, #video_uploader, #warranty_card_uploader
Methods included from ImagesHelper
#image_asset_tag, #image_asset_url, #picture_asset_tag
Methods included from SeoHelper
#add_page_schema, #add_webpage_schema, #canada?, #collect_schema, #company_social_links, #ensure_context_json, #json_ld_script_tag, #local_business_schema, #online_store_id, #online_store_schema, #page_main_entity, #page_main_entity_json, #render_auto_collection_page_schema, #render_collection_page_schema, #render_local_business_schema, #render_online_store_schema, #render_page_schemas, #render_page_video_schemas, #render_webpage_schema, #render_webpage_schema_with_collections, #usa?
Methods included from UrlsHelper
#catalog_breadcrumb_links, #catalog_link, #catalog_link_for_product_line, #cms_link, #delocalized_path, #path_to_sales_product_sku, #path_to_sales_product_sku_for_product_line, #path_to_sales_product_sku_for_product_line_slug, #product_line_from_catalog_link, #protocol_neutral_url, #sanitize_external_url, #valid_external_url?
Methods included from IconHelper
#account_nav_icon, #star_rating_html
Constructor Details
#initialize(view = nil, options = nil) ⇒ TowelWarmersPresenter
Returns a new instance of TowelWarmersPresenter.
28 29 30 31 32 33 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 28 def initialize(view = nil, = nil) @products = load_products @products_by_sku = @products.index_by(&:item_sku) # Cache for O(1) lookup - avoids N+1 @grouped_products = group_products(@products) super end |
Instance Attribute Details
#grouped_products ⇒ Object (readonly)
Returns the value of attribute grouped_products.
21 22 23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 21 def grouped_products @grouped_products end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
21 22 23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 21 def @options end |
#products ⇒ Object (readonly)
Returns the value of attribute products.
21 22 23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 21 def products @products end |
#products_by_sku ⇒ Object (readonly)
Returns the value of attribute products_by_sku.
21 22 23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 21 def products_by_sku @products_by_sku end |
#url_helper ⇒ Object (readonly)
Returns the value of attribute url_helper.
21 22 23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 21 def url_helper @url_helper end |
Instance Method Details
#add_skus(option) ⇒ Array<String>
Populates the option's :skus list from the grouped products.
980 981 982 983 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 980 def add_skus(option) product_details = grouped_products[option[:id]] option[:skus] = product_details&.map(&:item_sku) || [] end |
#add_special_offers(option) ⇒ Hash
Adds special-offer annotations (on-sale, refurbished) to the option hash.
954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 954 def add_special_offers(option) # Check if any sku is on sale option[:special_offers] ||= [] # Use cached products_by_sku for O(1) lookup instead of DB query per option option_products = option[:skus].filter_map { |sku| products_by_sku[sku] } .map { |p| Www::ProductCatalogPresenter.new(p) } # Find the first promo product if (promo_product = option_products.select(&:sale_price_in_effect?).max_by { |p| p.discount_percentage(precision: 0).to_i }) option[:special_offers] << 'on-sale' option[:discount_percentage_off] = promo_product.discount_percentage(precision: 0) option[:coupon] = { code: promo_product.coupon.code, title: promo_product.coupon.title, description: promo_product.coupon.description } end option[:special_offers] << 'refurbished' if option_products.any? { |op| op.refurbished_product&.product_available? } option end |
#barcelona ⇒ Object
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 62 def { id: 'barcelona', skus: ['TW-BC-08BS-FS2'], thumbnail_alt: 'Floor towel warmer: Barcelona', link: catalog_link_for_line_from_skus(['TW-BC-08BS-FS2']), title: 'Barcelona', photo_gallery: [ 'barcelona-towel-warmer-018732.jpeg', 'towel-warmers-barcelona-d95290.jpeg', 'barcelona-towel-warmer-parts-assembly-81ed9e.jpeg' ], short_description: 'Designed as a freestanding unit, giving the ultimate flexibility to use it in virtually any room of your home. ', description: ['The Barcelona Towel Warmer is designed as a freestanding unit, giving the ultimate flexibility to use it in virtually any room of your home. Barcelona Towel Warmers are available in a brushed stainless steel finish.', 'Each Barcelona heated towel rack comes with a 2-year warranty.'], feature: ['Free-standing for convenient placement and versatility', 'Easy to assemble', 'Plugs into a standard 120-volt outlet', 'Heat Output: 512 BTUs per hour'], connection_type: ['plug-in'], mounting_type: ['free-standing'], collection: 'classic', style: ['round-bars'], bars: ['7-9-bars'], width: ['21-in-25-in'], height: ['29-in-38-in'], wattage: ['100-w-199-w'], depth: ['11-in-16-in'], features: ['overheat-protection'], finishes: [ { id: 'brushed-stainless-steel', thumbnail: 'barcelona-towel-warmer-wy-site-image-lifestyle-copy-bvnplc' } ] } end |
#bellagio ⇒ Object
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 97 def bellagio { id: 'bellagio', skus: %w[TWS3-BLG20PH TWS3-BLG20ZH], thumbnail_alt: 'Wall Mounted towel warmer: Bellagio', link: catalog_link_for_line_from_skus(%w[TWS3-BLG20PH TWS3-BLG20ZH]), title: 'Bellagio', photo_gallery: [ 'bellagio-towel-warmer-polished-lifestyle-570db8.jpeg', 'cosmopolitan-towel-warmer-bellagio-45e004.png', 'bellagio-towel-warmer-oil-rubbed-bronze-lifestyle-019d2e.jpeg' ], short_description: 'With 20 curved bars and a high heat output, the Bellagio is an impressive model.', description: ['The Bellagio towel warmer from WarmlyYours is an elegant and impressively designed model. With 20 heated, curved bars, it’s no surprise that the Bellagio boasts a high heat output of 648 BTUs per hour.', 'Each Bellagio Towel Warmer comes with a 5-year warranty.'], feature: ['20 heated curved bars', '15 – 20 minutes to reach max surface temperature', 'Integrated power switch with indicator light', 'Available in polished stainless steel and oil-rubbed bronze finishes', 'Hardwires into a 120-volt circuit', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['round-bars'], bars: ['12-bars'], width: ['17-in-20-in'], height: ['39-in-48-in'], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'bellagio-towel-warmer-landing-page-image-on-wall-square-6yzyxy', link: catalog_link_for_sku('TWS3-BLG20PH') } ] } end |
#capture ⇒ Object
Alias for H#capture
23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 23 delegate :fa_icon, :link_to, :content_tag, :concat, :capture, :number_to_currency, to: :h |
#catalog_link_for_line_from_skus(skus) ⇒ Object
1032 1033 1034 1035 1036 1037 1038 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 1032 def catalog_link_for_line_from_skus(skus) vpc = Array(skus).filter_map { |s| products_by_sku[s] }.first pl = vpc&.primary_product_line return nil unless pl catalog_link(pl) || '#' end |
#catalog_link_for_sku(sku) ⇒ Object
1025 1026 1027 1028 1029 1030 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 1025 def catalog_link_for_sku(sku) vpc = products_by_sku[sku] return nil unless vpc catalog_link(vpc) || '#' end |
#concat ⇒ Object
Alias for H#concat
23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 23 delegate :fa_icon, :link_to, :content_tag, :concat, :capture, :number_to_currency, to: :h |
#content_tag ⇒ Object
Alias for H#content_tag
23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 23 delegate :fa_icon, :link_to, :content_tag, :concat, :capture, :number_to_currency, to: :h |
#elements ⇒ Object
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 134 def elements { id: 'elements', skus: ['TW-E4PCP'], thumbnail_alt: 'Plug in towel warmer: Elements', link: catalog_link_for_line_from_skus(['TW-E4PCP']), title: 'Elements', photo_gallery: [ 'elements-towel-warmer-lifestyle-158b87.jpeg', 'towel-warmer-elements-4-bar-tw-e4pcp-c83327.jpeg', 'elements-tw-bracket-b516c5.jpeg', 'elements-tw-switch-db5682.jpeg' ], short_description: '4 bars with a sleek serpentine loop design to allow towels to slide on and off easily.', description: [ 'The 4-bar Elements Towel Warmers have a sleek serpentine loop design to allow towels to slide on and off easily. With an elegant, simple design and polished chrome finish, electric heated towel racks are an affordable option for warming and drying your towels.', 'Each Elements Towel Warmer comes with a 2-year warranty.' ], feature: ['Sleek, classic serpentine loop design', 'Four bar configuration', 'Beautifully polished chrome finish', 'Heat Output: 205 BTUs per hour'], connection_type: ['plug-in'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['swivel'], bars: ['4-6-bars'], width: ['17-in-20-in'], height: ['29-in-38-in'], wattage: ['35-w-99-w'], depth: ['3-in-6-in'], features: [''], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'elements-towel-warmer-wy-site-image-lifestyle-snn1e4' } ] } end |
#fa_icon ⇒ Object
Alias for H#fa_icon
23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 23 delegate :fa_icon, :link_to, :content_tag, :concat, :capture, :number_to_currency, to: :h |
#featured_promo ⇒ Object
52 53 54 55 56 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 52 def featured_promo return unless (coupon_id = @products.where.not(coupon_id: nil).group(:coupon_id).order('count(*) desc'.sql_safe).pick(:coupon_id)) Coupon.find(coupon_id).attributes.symbolize_keys.slice(:id, :title, :description) end |
#generate_options(limit: nil) ⇒ Object
985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 985 def (limit: nil) = [ infinity, riviera, sierra, elements, tahoe, metropolitan, malta, maple, bellagio, ibiza, , maui, palma, milan, vida, grande, summit, rome, ontario, vancouver ] # !!! Limit the number of options in development to speed up page load = .first(limit) if limit.present? .map! do |option| add_skus(option) add_special_offers(option) option end # Remove any options without associated skus .delete_if { |option| option[:skus].empty? } end |
#grande ⇒ Object
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 171 def grande { id: 'grande', skus: %w[TWS6-GRD10BH TWS6-GRD10KH TWS6-GRD10PH TWS6-GRD12KH TWS6-GRD12PH], thumbnail_alt: 'Wall Mounted towel warmer: Grande', link: catalog_link_for_line_from_skus(%w[TWS6-GRD10BH TWS6-GRD10KH TWS6-GRD10PH TWS6-GRD12KH TWS6-GRD12PH]), title: 'Grande', photo_gallery: [ 'grande10-black-770986.jpeg', 'tws6-grd12ph-grande-12-polished-hero-43d6d1.png', 'tws6-grd10bh-grande-10-towel-warmer-brushed-hardwired-fdd5ad.jpeg', 'tws6-grd12ph-grande-12-towel-warmer-polished-hardwired-12-bars-e3c11e.jpeg', 'tws6-grd12kh-grande12-towel-warmer-black-hardwired-12-bars-f1977c.jpeg' ], short_description: 'The flat bars provide ample surface area to heat and dry your towels and bathrobes.', description: [ 'If the Grande towel warmer from WarmlyYours proves anything, it’s that sometimes huge performance comes in small packages. It’s heat output stands toe-to-toe with many larger models, while its compact profile means the Grande can be installed in a variety of locations. The spacing of the bars also incorporates a specialized top-bar pairing for hand towels.', 'Each Grande Towel Warmer comes with a 5-year warranty.' ], feature: ['Select either the 10-bar model or the larger 12-bar model', '15 – 20 minutes to reach max surface temperature', 'Available in polished stainless steel, brushed stainless steel, or matte black finishes ', 'Hardwires into a 120-volt circuit', 'Integrated power switch with indicator light', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], style: ['flat-bars'], bars: %w[10-11-bars 12-bars], collection: 'elevate', width: ['17-in-20-in'], height: %w[29-in-38-in 39-in-48-in], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], special_offers: [''], finishes: [ { id: 'brushed-stainless-steel', thumbnail: 'grande-brushed-towel-warmer-wy-site-image-lifestyle-copy-t7hvnx', link: catalog_link_for_sku('TWS6-GRD10BH') }, { id: 'matte-black', thumbnail: 'grande-black-towel-warmer-wy-site-image-lifestyle-copy-fnnq9l', link: catalog_link_for_sku('TWS6-GRD10KH') }, { id: 'polished-stainless-steel', thumbnail: 'grande-polished-towel-warmer-wy-site-image-lifestyle-copy-erkmcu', link: catalog_link_for_sku('TWS6-GRD10PH') } ] } end |
#group_products(products) ⇒ Object
46 47 48 49 50 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 46 def group_products(products) grouped_products = products.group_by(&:item_primary_product_line_lineage_expanded) # First rename keys to collection grouped_products.transform_keys { |key| key.split(' > ').last.downcase } end |
#h ⇒ Object
58 59 60 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 58 def h @view end |
#ibiza ⇒ Object
def huron
{
id: 'huron',
skus: ['TWS1-HRN08BH', 'TWS1-HRN08ZH'],
thumbnail_alt: 'Wall Mounted towel warmer: Huron',
link: catalog_link_for_line_from_skus(%w[TWS1-HRN08BH TWS1-HRN08ZH]),
title: 'Huron',
photo_gallery: [
'tws1-hrn08bh-huron-towel-warmer-brushed-hardwired-8-bars-46380e.jpeg'
],
short_description: 'Comes with 8 heated bars and a non-heating storage shelf, which also doubles as the top set of mounting brackets for the towel warmer.',
description: ['The Huron towel warmer features an innovative design and a high level of performance. The 8 heated bars of the Huron will deliver a heat output of 307 BTUs per hour which will not only warm your towels and bathrobes but also heat them between uses. The non-heating storage shelf at the top of the unit is perfect for storing extra towels.', 'Each Huron Towel Warmer comes with a 5-year warranty.'],
feature: ['8 heated round bars', 'Integrated non-heating storage shelf ', '15 – 20 minutes to reach max surface temperature', 'Available in brushed stainless steel', 'Hardwires into a 120-volt circuit', 'Built-in TempSmart™ overheat protection'],
connection_type: ['hardwired'],
mounting_type: ['wall-mounted'],
collection: 'elevate',
style: ['shelf'],
width: ['21-in-25-in'],
height: ['29-in-38-in'],
wattage: ['35-w-99-w'],
depth: ['7-in-10-in'],
features: ['overheat-protection'],
finishes: [
{
id: 'brushed-stainless-steel',
thumbnail: 'tws1-hrn08bh-huron-towel-warmer-brushed-hardwired-8-bars-46380e.jpeg',
link: catalog_link_for_sku("TWS1-HRN08BH")
}
]
}
end
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 253 def ibiza { id: 'ibiza', skus: ['TWS5-IBZ06PP'], thumbnail_alt: 'Towel warmer: Ibiza', link: catalog_link_for_line_from_skus(['TWS5-IBZ06PP']), title: 'Ibiza', photo_gallery: [ 'tws5-ibz06pp-ibiza-towel-warmer-lifestyle-9234ee.jpeg', 'ibiza-front-30ff81.jpeg', 'e-ibiza-on-off-41b448.jpeg', 'ibiza-stand-assembly-0f2373.jpeg' ], short_description: '6 evenly spaced bars and includes an integrated control with several options.', description: [ 'The Ibiza towel warmer from WarmlyYours represents the perfect blend of versatility and functionality. With its freestanding construction and plug-in connection, the DIY-friendly Ibiza, unlike wall-mounted towel warmers, can be used in almost any room with a functioning outlet and easily moved to different locations. Additionally, the integrated control offers several options: manual on/off control, on for 2 hours, and on for 4 hours.', 'Each Ibiza Towel Warmer comes with a 5-year warranty.' ], feature: ['6 heated bars', 'Available with a polished stainless steel finish ', '15 – 20 minutes to reach max surface temperature', 'Freestanding design', ' Integrated control with 3 modes: on/off, on for 2hrs, and on for 4hrs', 'Built-in TempSmart™ overheat protection'], connection_type: ['plug-in'], mounting_type: ['free-standing'], collection: 'classic', style: %w[round-bars square-bars], bars: ['4-6-bars'], width: ['21-in-25-in'], height: ['29-in-38-in'], wattage: ['35-w-99-w'], depth: ['11-in-16-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'ibiza-towel-warmer-wy-site-image-lifestyle-copy-smydxe' } ] } end |
#infinity ⇒ Object
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 291 def infinity { id: 'infinity', skus: %w[TW-F10BS-HP TW-F10PS-HP TW-F10BS-HP-A TW-F10KS-HP], thumbnail_alt: 'Towel warmer rack: Infinity', link: catalog_link_for_line_from_skus(%w[TW-F10BS-HP TW-F10PS-HP TW-F10BS-HP-A TW-F10KS-HP]), title: 'Infinity', photo_gallery: [ 'infinity-plugin-towel-warmer-lifestyle-423623.jpeg', 'towel-warmer-infinity-plug-in-tw-f10bs-pl-469a38.jpeg', 'infinity-towel-warmer-assembly-kit-parts-e7aac6.jpeg' ], short_description: "This is most popular model and for good reason—the Infinity's classic design instantly augments any room's decor!", description: [ 'The Infinity Towel Warmers are available in both plug-in or hardwired models and weigh in at less than 9 pounds. Manufactured from stainless steel with a beautifully brushed finish and 10 sleek heated towel rails to hang bath towels or a bathrobe, this towel warmer will suit families large or small.', 'Each Infinity Towel Warmer comes with a 2-year warranty.' ], feature: ['Beautiful, skillfully brushed stainless steel finish', '10 sleek bars provide ample space for hanging towels or a bathrobe', 'Available with either plug-in or hardwired connections ', 'Heat Output: 512 BTUs per hour'], connection_type: %w[hardwired plug-in dual-connection], mounting_type: ['wall-mounted'], collection: 'classic', style: ['round-bars'], bars: ['10-11-bars'], width: ['21-in-25-in'], height: ['29-in-38-in'], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], # top_seller: true, finishes: [ { id: 'brushed-stainless-steel', thumbnail: 'infinity-brushed-towel-warmer-wy-site-image-lifestyle-rrw1tm', link: catalog_link_for_sku('TW-F10BS-HP') }, { id: 'polished-stainless-steel', thumbnail: 'infinity-polished-towel-warmer-wy-site-image-lifestyle-ldvanj', link: catalog_link_for_sku('TW-F10PS-HP') }, { id: 'matte-black', thumbnail: 'infinity-black-towel-warmer-wy-site-image-lifestyle-yzpyli', link: catalog_link_for_sku('TW-F10KS-HP') }, { id: 'polished-gold', thumbnail: 'infinity-gold-towel-warmer-wy-site-image-lifestyle-xfoikr', link: catalog_link_for_sku('TW-F10GS-HP') } ] } end |
#link_to ⇒ Object
Alias for H#link_to
23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 23 delegate :fa_icon, :link_to, :content_tag, :concat, :capture, :number_to_currency, to: :h |
#load_products ⇒ Object
35 36 37 38 39 40 41 42 43 44 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 35 def load_products # Use ltree for precise hierarchy matching with hardcoded paths (no DB lookup) # No need to JOIN item/product_category - we have ltree paths directly on the view ViewProductCatalog .visible_to_public .includes(:item, :catalog_item, :primary_product_line) .where(item_condition: 'new', catalog_id: Catalog.locale_to_catalog_id) .where(ViewProductCatalog[:primary_pl_path_slugs].ltree_descendant(LtreePaths::PL_TOWEL_WARMER)) .where(ViewProductCatalog[:pc_path_slugs].ltree_descendant(LtreePaths::PC_TOWEL_WARMERS)) end |
#london ⇒ Object
The london is obsolete but you never know
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 343 def london { id: 'london', skus: ['TWS2-LDN11PH'], thumbnail_alt: 'Hardwired towel warmer: London', link: catalog_link_for_line_from_skus(['TWS2-LDN11PH']), title: 'London', photo_gallery: [ 'london-towel-warmer-lifestyle-628547.jpeg', 'london-towel-warmer-800094.png' ], short_description: 'The straight, linear design of this model is exemplified by the 11 heated, square bars.', description: [ 'The London towel warmer from WarmlyYours is a large and visually stunning model. With it’s impressive heat output of 409 BTUs per hour, this model will ensure that you’ll be able to warm or dry your towels or bathrobes expediently.', 'Each London Towel Warmer comes with a 5-year warranty.' ], feature: ['11 heated flat bars', '15 – 20 minutes to reach max surface temperature', 'Hardwires into a 120-volt circuit', 'Available with a polished stainless steel finish', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['bar'], bars: ['10-11-bars'], width: ['21-in-25-in'], height: ['39-in-48-in'], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'london-towel-warmer-lifestyle-628547.jpeg' } ] } end |
#malta ⇒ Object
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 379 def malta { id: 'malta', skus: %w[TWS4-MLT11KH TWS4-MLT11PH], thumbnail_alt: 'Wall Mounted towel warmer: Malta', link: catalog_link_for_line_from_skus(%w[TWS4-MLT11KH TWS4-MLT11PH]), title: 'Malta', photo_gallery: [ 'malta-polished-tws4-mlt11ph-towel-warmer-cb69d5.jpeg', 'malta-polished-tws4-mlt11ph-c07bc3.jpeg', 'cosmopolitan-collection-malta-black-matte-life-b6e755.jpeg' ], short_description: 'Beautiful, large model that perfectly blends high-performance functionality with stunning aesthetics.', description: [ 'With 11 heated, round bars the Malta boasts an impressive heat output of 443 BTUs per hour. This wall-mounted model will be able to warm and/or dry a large variety of towel shapes and sizes. The number of bars, and their orientation in the assembly, means this model will be able to accommodate a large variety of towel shapes and sizes. ', 'Each Malta Towel Warmer comes with a 5-year warranty.' ], feature: ['11 heated, round bars', '15 – 20 minutes to reach max surface temperature', 'Available in polished stainless steel or matte black finishes', 'Durable steel construction ', 'Hardwires into a 120-volt circuit', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['round-bars'], bars: ['10-11-bars'], width: ['21-in-25-in'], height: ['39-in-48-in'], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'malta-polished-towel-warmer-landing-page-image-on-wall-square-wgn4xy', link: catalog_link_for_sku('TWS4-MLT11PH') }, { id: 'matte-black', thumbnail: 'towel-warmer-landing-page-image-on-wall-square-2-pffj9a', link: catalog_link_for_sku('TWS4-MLT11KH') } ] } end |
#maple ⇒ Object
422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 422 def maple { id: 'maple', skus: %w[TWS6-MPL08PH TWS6-MPL08KH], thumbnail_alt: 'Wall Mounted towel warmer: Maple', link: catalog_link_for_line_from_skus(%w[TWS6-MPL08PH TWS6-MPL08KH]), title: 'Maple 8', photo_gallery: [ 'maple-8-towel-warmer-polished-lifestyle-80a685.jpeg', 'maple-towel-warmer-matte-black-lifestyle-794075.jpeg', 'cosmopolitan-towel-warmer-maple-8-8869fd.png' ], short_description: 'The 8 flat, heated bars provide maximum surface area contact for expedient heating. ', description: ['The Maple 8 towel warmer from WarmlyYours is a compact model that provides an enormous amount of functionality. The 8 flat, heated bars of this wall-mounted model help the Maple 8 put out an impressive 358 BTUs per hour. ', 'Each Maple 8 Towel Warmer comes with a 5-year warranty.'], feature: ['8 heated flat bars', '15 – 20 minutes to reach max surface temperature', 'Integrated power switch with indicator light', 'Available in polished stainless steel or matte black finishes', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['flat-bars'], bars: ['7-9-bars'], width: ['17-in-20-in'], height: ['19-in-28-in'], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'maple-black-towel-warmer-landing-page-image-on-wall-square-g2ht9x', link: catalog_link_for_sku('TWS6-MPL08PH') }, { id: 'matte-black', thumbnail: 'maple-black-towel-warmer-wy-site-image-lifestyle-1rnbry', link: catalog_link_for_sku('TWS6-MPL08KH') } ] } end |
#maui ⇒ Object
463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 463 def maui { id: 'maui', skus: ['TWS1-MAU07PH'], thumbnail_alt: 'Wall Mounted towel warmer: Maui', link: catalog_link_for_line_from_skus(['TWS1-MAU07PH']), title: 'Maui', photo_gallery: [ 'maui-lifestyle-tws1-mau07ph-e79633.png', 'maui-front-81465a.png', 'maui-detail-4061ac.jpeg', 'maui-brackets-9f07e4.jpeg' ], short_description: 'Features an innovative design with an integrated, non-heating storage shelf for extra towels.', description: [ 'With its compact design, this model delivers all of the functionality of larger units without taking up unnecessary wall-space. The hardwired electrical connection for the wall-mounted Maui will provide a streamlined look without visible wires. The 7 heated bars will deliver a heat output of 222 BTUs per hour. The Maui also comes with a non-heating storage shelf for extra towels. ', 'Each Maui Towel Warmer comes with a 5-year warranty.' ], feature: ['7 heated bars', '15 – 20 minutes to reach max surface temperature', 'Integrated, non-heating storage shelf', 'Hardwires into a 120-volt circuit', 'Available with a polished stainless steel finish', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['built-in-shelf'], bars: ['7-9-bars'], width: ['17-in-20-in'], height: ['19-in-28-in'], wattage: ['35-w-99-w'], depth: ['7-in-10-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'maui-towel-warmer-wy-site-image-lifestyle-ywc2k1' } ] } end |
#metropolitan ⇒ Object
502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 502 def metropolitan { id: 'metropolitan', skus: ['TW-MT-10PS-HP'], thumbnail_alt: 'Mounted towel warmer: Metropolitan', link: catalog_link_for_line_from_skus(['TW-MT-10PS-HP']), title: 'Metropolitan', photo_gallery: [ 'metropolitan-angle-lifestyle-im13421-081121-6d0812.jpeg', 'metropolitan-towel-warmer-6d3dc6.jpeg', 'metropolitan-hardwired-tw-mt-10ps-hw-b611c7.jpeg', 'metropolitan-towel-warmer-9abc32.jpeg', 'metropolitan-towel-warmer-d2a363.jpeg' ], short_description: '10 sleek heated rails that are perfect for warming large bath towels and bathrobes.', description: [ 'The Metropolitan Towel Warmer has 10 sleek heated rails that are perfect for warming large bath towels and bathrobes. The classic design and large format of the Metropolitan ensure that it will be able to accommodate a huge variety towel shapes and sizes. Metropolitan Towel Warmers are available in a polished stainless steel finish.', 'Each Metropolitan Towel Warmer comes with a 2-year warranty.' ], feature: ['Available with either plug-in or hardwired connections', '10 heated, square bars', 'Beautifully polished stainless steel', 'Heat Output: 512 BTUs per hour'], connection_type: %w[hardwired plug-in dual-connection], mounting_type: ['wall-mounted'], collection: 'classic', style: ['square-bars'], bars: ['10-11-bars'], width: ['17-in-20-in'], height: ['39-in-48-in'], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], # top_seller: true, finishes: [ { id: 'polished-stainless-steel', thumbnail: 'metropolitan-towel-warmer-wy-site-image-lifestyle-ekuv3s' } ] } end |
#milan ⇒ Object
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 541 def milan { id: 'milan', skus: ['TWS6-MLN14PH'], thumbnail_alt: 'Wall Mounted towel warmer: Milan', link: catalog_link_for_line_from_skus(['TWS6-MLN14PH']), title: 'Milan 14', photo_gallery: [ 'cosmopolitan-towel-warmer-maple-14-c52e27.png', 'milan-14-towel-warmer-polished-lifestyle-b101a8.jpeg' ], short_description: 'The flat bars provide maximum surface area for expedient drying of your towels and bathrobes.', description: ['This impressive wall-mounted model boasts one of the highest heat outputs available at 734 BTUs per hour. The Milan 14’s design also incorporates a spacing that allows the top pair of bars to perfectly accommodate hand towels.', 'Each Milan 14 Towel Warmer comes with a 5-year warranty.'], feature: ['14 heated flat bars', '15 – 20 minutes to reach max surface temperature', 'Integrated power switch with indicator light', 'Available with a polished stainless steel finish', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['flat-bars'], bars: ['12-bars'], width: ['17-in-20-in'], height: ['39-in-48-in'], wattage: ['200-w-250-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'milan-towel-warmer-wy-site-image-lifestyle-copy-tb5rgv' } ] } end |
#number_to_currency ⇒ Object
Alias for H#number_to_currency
23 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 23 delegate :fa_icon, :link_to, :content_tag, :concat, :capture, :number_to_currency, to: :h |
#ontario ⇒ Object
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 576 def ontario { id: 'ontario', skus: ['TWS4-ONT11PH'], thumbnail_alt: 'Wall Mounted towel warmer: ontario', link: catalog_link_for_line_from_skus(['TWS4-ONT11PH']), title: 'Ontario XL', photo_gallery: [ 'ontario-xl-polished-f0b9d8.jpeg', 'ontario-xl-polished-front-8d9807.jpeg', 'ontario-xl-polished-detail-9f5360.jpeg', 'ontario-xl-polished-bracket-b9c1d2.jpeg', 'ontario-xl-scale-d6ee5d.jpeg' ], short_description: 'The Ontario XL`s unique design makes it perfectly suited for a wide range of towels.', description: [ 'There’s no doubt that a towel warmer delivers comfort and luxury, but the Ontario XL from WarmlyYours is a perfect example of how functional an electric towel warmer can be. The economical Ontario XL’s distinctive size offers two immediate benefits: it can easily accommodate multiple towels and its heat output of 443 BTUs per hour is hard to beat for the price. ', 'Each Ontario XL Towel Warmer comes with a 5-year warranty.' ], feature: ['11 heated bars', '15 – 20 minutes to reach max surface temperature', 'Available with a polished stainless steel finish', 'Hardwires into a 120-volt circuit', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'elevate', style: ['round-bars'], bars: ['10-11-bars'], width: ['21-in-25-in'], height: ['39-in-48-in'], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'ontario-towel-warmer-wy-site-image-lifestyle-zwhgtm' } ] } end |
#palma ⇒ Object
614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 614 def palma { id: 'palma', skus: ['TWS2-PLM04PP'], thumbnail_alt: 'Wall Mounted towel warmer: Palma', link: catalog_link_for_line_from_skus(['TWS2-PLM04PP']), title: 'Palma', photo_gallery: [ 'tws2-plm04pp-palma-polished-lifestyle-ea181e.jpeg', 'palma-front-5bfc52.png', 'palma-side-a87492.jpeg', 'palma-brackets-d675ad.jpeg', 'palma-detail-0acb87.jpeg' ], short_description: 'This compact plug-in model is a great way to add a towel warmer to any bathroom.', description: [ 'The compact and economical Palma towel warmer from WarmlyYours provides all of the functionality of larger models, while taking up less wall space. This wall-mounted model, with its plug-in connection, is very DIY-friendly and its 304-stainless steel construction means that the Palma is durable and easy to maintain. The square bars, linear design, and highly polished finish means this unit will be a functional and attractive addition to any room.', 'Each Palma Towel Warmer comes with a 5-year warranty.' ], feature: ['4 heated, square bars', '15 – 20 minutes to reach max surface temperature', 'Available with a polished stainless steel finish', 'Integrated power switch with indicator light', 'Built-in TempSmart™ overheat protection'], connection_type: ['plug-in'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['square-bars'], bars: ['4-6-bars'], width: ['17-in-20-in'], height: ['19-in-28-in'], wattage: ['35-w-99-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'palma-towel-warmer-wy-site-image-lifestyle-d2yrh2' } ] } end |
#riviera ⇒ Object
652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 652 def riviera { id: 'riviera', skus: %w[TW-R09BS-HW TW-R09PS-HW], thumbnail_alt: 'Electric towel warmer: Riviera', link: catalog_link_for_line_from_skus(%w[TW-R09BS-HW TW-R09PS-HW]), title: 'Riviera', photo_gallery: [ 'riviera-towel-warmer-lifestyle-550a66.jpeg', 'riviera-towel-warmer-hardwired-brushed-stainless-steel-tw-r09bs-hw-238279.jpeg', 'riviera-brushed-0abcda.jpeg', 'riviera-towel-warmer-polished-lifestyle-02f4ad.jpeg' ], short_description: 'Modern design with a curved 3D profile and it can accommodate two large towels.', description: [ 'The Riviera Towel Warmers have a modern-looking, curved tubular profile and can accommodate two large towels. Each electric towel rack is manufactured from superior quality stainless steel. Riviera Towel Warmers are available in both polished and stainless steel finishes.', 'Each Riviera Towel Warmer comes with a 2-year warranty.' ], feature: ['Available in polished and brushed stainless steel finishes', 'Curved tubular profile accommodates 2 large bath towels', '9 curved, heated bars ', 'Heat Output: 512 BTUs per hour'], connection_type: %w[hardwired plug-in dual-connection], mounting_type: ['wall-mounted'], collection: 'classic', style: ['round-bars'], bars: ['7-9-bars'], width: ['21-in-25-in'], height: ['29-in-38-in'], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], finishes: [ { id: 'brushed-stainless-steel', thumbnail: 'riviera-brushed-towel-warmer-wy-site-image-lifestyle-orxxpb', link: catalog_link_for_sku('TW-R09BS-HP') }, { id: 'polished-stainless-steel', thumbnail: 'riviera-polished-towel-warmer-wy-site-image-lifestyle-xdnbnc', link: catalog_link_for_sku('TW-R09PS-HP') }, { id: 'polished-gold', thumbnail: 'riviera-gold-towel-warmer-wy-site-image-lifestyle-ppce9f', link: catalog_link_for_sku('TW-R09GS-HP') } ] } end |
#rome ⇒ Object
699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 699 def rome { id: 'rome', skus: ['TWS7-ROM10BH'], thumbnail_alt: 'Wall Mounted towel warmer: Rome', link: catalog_link_for_line_from_skus(['TWS7-ROM10BH']), title: 'Rome', photo_gallery: [ 'rome-towel-warmer-2c2743.png', 'rome-towel-warmer-brushed-lifestyle-322e60.jpeg' ], short_description: 'Boldly modern design with an emphasis on high performance.', description: [ 'This wall-mounted model comes with 10 heated bars which help the Rome put out an impressive 426 BTUs per hour. The three-dimensional cross-lay of the round bars ensures the Rome will be able to warm or dry your towels and bathrobes.', 'Each Rome Towel Warmer comes with a 5-year warranty.' ], feature: ['10 heated round bars', '15 – 20 minutes to reach max surface temperature', 'Available with a brushed stainless steel finish', 'Hardwires into a 120-volt circuit', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['round-bars'], bars: ['10-11-bars'], width: ['21-in-25-in'], height: ['29-in-38-in'], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], finishes: [ { id: 'brushed-stainless-steel', thumbnail: 'rome-towel-warmer-wy-site-image-lifestyle-wdcpxd' } ] } end |
#sierra ⇒ Object
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 735 def sierra { id: 'sierra', skus: ['TW-SR-08PS-HW'], thumbnail_alt: 'Wall towel warmer rack: Sierra', link: catalog_link_for_line_from_skus(['TW-SR-08PS-HW']), title: 'Sierra', photo_gallery: [ 'sierra-towel-warmer-life-style-white-bathroom-without-a-towel-a68936.jpeg', 'towel-warmer-sierra-section-square-8-bar-polished-stainless-tw-sr-08ps-hw-d70484.jpeg', 'metropolitan-towel-warmer-9abc32.jpeg', 'metropolitan-towel-warmer-d2a363.jpeg' ], short_description: '8 sleek horizontal heated rails and can easily dry and warm large bath towels or bathrobes.', description: [ 'The Sierra Towel Warmer has 8 sleek horizontal heated rails and can easily dry and warm large bath towels or bathrobes. With two sets of four heating bars, the Sierra has ample room for accommodating your favorite bath towel, regardless of size or shape. Sierra Towel Warmers are available in a polished stainless steel finish.', 'Each Sierra Towel Warmer comes with a 2-year warranty.' ], feature: ['Ideal for drying large towels or bathrobes', 'Wall mounted electric warming rack', 'Hardwires into a 120-volt circuit', 'Available with a polished stainless steel finish'], connection_type: %w[hardwired plug-in dual-connection], mounting_type: ['wall-mounted'], collection: 'classic', style: ['square-bars'], bars: ['7-9-bars'], width: ['21-in-25-in'], height: ['29-in-38-in'], wattage: ['100-w-199-w'], depth: ['3-in-6-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'sierra-towel-warmer-wy-site-image-lifestyle-ug9orm', link: catalog_link_for_sku('TW-SR08PS-HP') }, { id: 'matte-black', thumbnail: 'sierra-black-towel-warmer-wy-site-image-lifestyle-nn7crf', link: catalog_link_for_sku('TW-SR08KS-HP') }, { id: 'polished-gold', thumbnail: 'sierra-gold-towel-warmer-wy-site-image-lifestyle-kjq7ft', link: catalog_link_for_sku('TW-SR08GS-HP') } ] } end |
#summit ⇒ Object
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 783 def summit { id: 'summit', skus: %w[TW-SUM08PS-HP TW-SUM08KS-HP], thumbnail_alt: 'Wall towel warmer rack: Summit', link: catalog_link_for_line_from_skus(%w[TW-SUM08PS-HP TW-SUM08KS-HP]), title: 'Summit', photo_gallery: '', short_description: '8 main heated bars that can easily dry and warm large bath towels or bathrobes while the heated 3-bar shelf can keep additional towels toasty.', description: [''], feature: [''], connection_type: %w[hardwired plug-in dual-connection], mounting_type: ['wall-mounted'], collection: 'classic', style: ['built-in-shelf'], bars: ['7-9-bars'], width: ['17-in-20-in'], height: ['29-in-38-in'], wattage: ['100-w-199-w'], depth: ['7-in-10-in'], features: ['overheat-protection'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'summit-polished-towel-warmer-wy-site-image-lifestyle-copy-5mwt4q', link: catalog_link_for_sku('TW-SUM08PS-HP') }, { id: 'matte-black', thumbnail: 'summit-black-towel-warmer-wy-site-image-lifestyle-copy-yujpsv', link: catalog_link_for_sku('TW-SUM08KS-HP') } ] } end |
#tahoe ⇒ Object
819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 819 def tahoe { id: 'tahoe', skus: %w[TWS2-TAH06PH TWS2-TAH07GH TWS2-TAH07KH TWS2-TAH07PH], thumbnail_alt: 'Wall Mounted towel warmer: Tahoe', link: catalog_link_for_line_from_skus(%w[TWS2-TAH06PH TWS2-TAH07GH TWS2-TAH07KH TWS2-TAH07PH]), title: 'Tahoe', photo_gallery: [ 'tws2-tah07ph-tahoe-07-towel-warmer-polished-hardwired-7-bars-de65cb.jpeg', 'tws2-tah07gh-tahoe-7-gold-hero-00e01a.png', 'tws2-tah07kh-tahoe-07-towel-warmer-black-hardwired-7-bars-03a80b.jpeg', 'tws2-tah06ph-tahoe-06-towel-warmer-polished-hardwired-6-bars-6b515b.jpeg', 'tahoe-06-towel-warmer-polished-hardwired-6-bars-f58eb6.jpeg', 'tahoe-07-towel-warmer-black-hardwired-7-bars-dfea1d.jpeg' ], short_description: ' This model combines straight, linear lines with high-level performance. ', description: [ 'Experience a new level of luxury with the Tahoe towel warmer. These wall-mounted models come with a discrete power switch and hardwired electrical connection. The straight lines and square bars of the Tahoe are a perfect complement to the linear design aspects of most contemporary bathrooms. The Tahoe is available in either 6-bar or 7-bar variations.', 'Each Tahoe Towel Warmer comes with a 5-year warranty.' ], feature: ['Heat Output: 273 (6-bars) or 256 BTUs per hour (7-bars)', '15 – 20 minutes to reach max surface temperature', 'Heat Output: 273 (6-bars) or 256 BTUs per hour (7-bars)', 'Available in polished stainless steel, gold, or matte black finishes ', 'Hardwires into a 120-volt circuit', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['square-bars'], bars: %w[4-6-bars 7-9-bars], width: %w[21-in-25-in 26-in-30-in], height: %w[19-in-28-in 29-in-38-in], wattage: ['35-w-99-w'], features: ['overheat-protection'], depth: ['3-in-6-in'], top_seller: true, finishes: [ { id: 'polished-stainless-steel', thumbnail: 'tahoe-towel-warmer-wy-site-image-lifestyle-xqcpc5', link: catalog_link_for_sku('TWS2-TAH07PH') }, { id: 'matte-black', thumbnail: 'tahoe-black-towel-warmer-wy-site-image-lifestyle-g6t2px', link: catalog_link_for_sku('TWS2-TAH07KH') }, { id: 'brushed-gold', thumbnail: 'tahoe-gold-towel-warmer-wy-site-image-lifestyle-nf46aj', link: catalog_link_for_sku('TWS2-TAH07GH') } ] } end |
#vancouver ⇒ Object
872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 872 def vancouver { id: 'vancouver', skus: ['TWS1-VNC06PH'], thumbnail_alt: 'Hardwired towel warmer: Vancouver', link: catalog_link_for_line_from_skus(['TWS1-VNC06PH']), title: 'Vancouver', photo_gallery: [ 'cosmopolitan-towel-warmer-vancouver-c66188.png', 'vancouver-towel-warmer-lifestyle-3fb7d9.jpeg' ], short_description: 'Comes with 6 heated bars and a built-in non-heating storage shelf for towels.', description: [ 'The Vancouver Towel Warmer is an innovative model with an integrated non-heating shelf for extra towels. The compact design of the Vancouver means this model takes up less wall space than larger units while providing the same level of functionality. The 6 heated curved bars will warm and dry your towels and bathrobes very quickly.', 'Each Vancouver Towel Warmer comes with a 5-year warranty.' ], feature: ['6 heated curved bars, 2 non-heated support bars, and a non-heating storage shelf', '15 – 20 minutes to reach max surface temperature', 'Hardwired connection', 'Available with a polished stainless steel finish', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['built-in-shelf'], bars: ['4-6-bars'], width: ['21-in-25-in'], height: ['19-in-28-in'], wattage: ['35-w-99-w'], features: ['overheat-protection'], depth: ['11-in-16-in'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'vancouver-towel-warmer-wy-site-image-lifestyle-uzpidc' } ] } end |
#vida ⇒ Object
908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 |
# File 'app/presenters/www/towel_warmers_presenter.rb', line 908 def vida { id: 'vida', skus: ['TWS3-VID21PH'], thumbnail_alt: 'Wall Mounted towel warmer: Vida', link: catalog_link_for_line_from_skus(['TWS3-VID21PH']), title: 'Vida', photo_gallery: [ 'vida-264eb8.jpeg', 'vida-front-view-6d24c3.jpeg', 'vida-detail-790d67.jpeg', 'vida-bracket-14dc6e.jpeg', 'vida-scale-778f89.jpeg' ], short_description: 'With 21 heated bars, this is one of our largest and most powerful models.', description: [ 'A towel warmer is more than a simple appliance—it’s a gateway to a level of comfort previously only available in expensive spas. The large number of bars and their orientation ensures you’ll be able to warm and dry a wide range of towels, bathrobes, and more. The Vida also boasts an impressive heat output rate of 716 BTUs per hour. ', 'Each Vida Towel Warmer comes with a 5-year warranty.' ], feature: ['21 heated bars', 'Available with a polished stainless steel finish ', '15 – 20 minutes to reach max surface temperature', 'Hardwires into a 120-volt circuit', 'Built-in TempSmart™ overheat protection'], connection_type: ['hardwired'], mounting_type: ['wall-mounted'], collection: 'classic', style: ['round-bars'], bars: ['12-bars'], width: ['21-in-25-in'], height: ['49-in'], wattage: ['200-w-250-w'], features: ['overheat-protection'], depth: ['3-in-6-in'], finishes: [ { id: 'polished-stainless-steel', thumbnail: 'vida-towel-warmer-wy-site-image-lifestyle-copy-wtbwvc' } ] } end |