{{ header }} {# // Breadcrumbs ------------------------------------------------------ #} {{ tbSlotStart('product/product.breadcrumbs') }} {{ tbSlotStop() }} {# // Page title ------------------------------------------------------- #} {{ tbSlotStart('product/product.page_title', {'filter': ['product/product.page_title.filter', 'heading_title']}) }}

{{ heading_title }}

{{ tbSlotStop() }} {# // Product Images --------------------------------------------------- #} {{ tbSlotStart('product/product.product_images') }} {% if images or thumb %} {% set image_preview_width = tbData['config'].get(tbConfigThemePrefix() ~ '_image_thumb_width') %} {% set image_preview_height = tbData['config'].get(tbConfigThemePrefix() ~ '_image_thumb_height') %} {% set image_full_width = tbData['config'].get(tbConfigThemePrefix() ~ '_image_popup_width') %} {% set image_full_height = tbData['config'].get(tbConfigThemePrefix() ~ '_image_popup_height') %} {% set gallery = tbData['system.product_images'] %} {% if thumb or images %} {% endif %}
{# // Zoom Area #} {% if tbData['system.product_images']['zoom'] %} {% endif %} {# // Fullscreen button #} {% if tbData['system.product_images']['fullscreen'] %} {% endif %} {# // Slides #}
{% for image in images %}
{% endfor %}
{% if images and gallery['nav'] and gallery['nav_style'] == 'thumbs' %}
    {% endif %} {% if images and gallery['nav'] and gallery['nav_style'] != 'thumbs' %} {% endif %}
    {% endif %} {{ tbSlotStop() }} {# // Product Info ----------------------------------------------------- #} {% set product_info = [] %} {{ tbSlotStart('product/product.product_info', {'filter': ['product/product.product_info.filter', 'button_cart', 'product_info']}) }} {% set content_top = '' %}{% set content_bottom = '' %} {{ content_top }}
    {{ text_stock }}
    {{ stock }}
    {{ text_model }}
    {{ model }}
    {% if reward %}
    {{ text_reward }}
    {{ reward }}
    {% endif %} {% if tbData.common['manufacturers_enabled'] and manufacturer %}
    {{ text_manufacturer }}
    {{ manufacturer }}
    {% endif %}
    {{ content_bottom }} {{ tbSlotStop() }} {# {% if product_info.price_num <= 0 %}{% set price = false %}{% endif %} #} {# // Product Price ---------------------------------------------------- #} {{ tbSlotStart('product/product.product_price') }} {% if price and tbData.common['hide_zero_price'] %} {% if tbData['system.product_price']['show_label'] %} {{ tbData.text_price }} {% endif %}
    {% set price = tbData.priceFormat(price) %} {% if not special %} {{ tax }} {% else %} {% set special = tbData.priceFormat(special) %} {{ price }} {% if tbData['system.product_price']['old_price_new_line'] %} {% endif %} {{ special }} {% endif %}
    {% if not tbData['system.product_price']['show_tax'] %}{% set tax = false %}{% endif %} {% if tax and not special %} {{ text_tax }} {{ price }} {% elseif tax and special %} {{ text_tax }} {{ special }} {% endif %} {% if not tbData['system.product_price']['show_reward'] %}{% set points = false %}{% endif %} {% if points %} {{ text_points }} {{ points }} {% endif %} {% if tbData.product_savings and tbData['system.product_price']['show_savings'] %}

    {% if tbData['system.product_price']['show_savings_sum'] %} {{ tbData.product_you_save }} {% else %} {{ tbData.product_savings }} {% endif %}

    {% endif %} {% if not tbData.config.get('config_customer_price') or (tbData.config.get('config_customer_price') and tbData.customer.isLogged()) %} {% endif %} {% endif %} {{ tbSlotStop() }} {# // Product Discounts ------------------------------------------------ #} {{ tbSlotStart('product/product.product_discounts') }} {% if price %} {% if discounts %} {% if tbData['system.product_discounts']['block_title'] %}

    {{ tbData.text_product_discount }}

    {% endif %}
    {{ tbData.text_product_order_quantity }} {{ tbData.text_product_price_per_item }} {% for discount in discounts %} {% set discountprice = discount.price|striptags %} {% set fullprice = price|striptags %} {% set pricenopound = fullprice|trim('£') %} {% set discountnopound = discountprice|trim('£') %} {% set discountamount = ((pricenopound - discountnopound)/6)*5 %} {{ tbData.text_product_discount_items|format(discount.quantity) }} {{ discountamount|number_format(2) }} {% endfor %}
    {% endif %} {% endif %} {{ tbSlotStop() }} {# // Product Options -------------------------------------------------- #} {{ tbSlotStart('product/product.product_options') }} {% if options or recurrings %} {% if tbData['system.product_options']['block_title'] %}

    {{ text_option }}

    {% endif %} {{ tbSlotFilter('product/product_options.filter', 'options') }} {% if options %}
    {% for option in options %} {# // SELECT #} {% if option.type == 'select' %}
    {% endif %} {# // RADIO #} {% if option.type == 'radio' %}
    {% if option.tb_css_classes is not empty and option.tb_css_classes == 'style_2' and (option.image_width is not empty or option.image_height is not empty) %} {% endif %}
    {% for option_value in option.product_option_value %}
    {% if option_value.image %} {{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %} {% endif %} {{ option_value.name }} {% if option_value.price %} ({{ option_value.price_prefix }}{{ option_value.price }}) {% endif %}
    {% endfor %}
    {% endif %} {# // CHECKBOX #} {% if option.type == 'checkbox' %}
    {% if option.tb_css_classes is not empty and option.tb_css_classes == 'style_2' and (option.image_width is not empty or option.image_height is not empty) %} {% endif %}
    {% for option_value in option.product_option_value %}
    {% if option_value.image %} {{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %} {% endif %} {{ option_value.name }} {% if option_value.price %} ({{ option_value.price_prefix }}{{ option_value.price }}) {% endif %}
    {% endfor %}
    {% endif %} {# // TEXT #} {% if option.type == 'text' %}
    {% endif %} {# // TEXTAREA #} {% if option.type == 'textarea' %}
    {% endif %} {# // FILE #} {% if option.type == 'file' %} {% set hasFile = true %}
    {% endif %} {# // DATE #} {% if option.type == 'date' %}
    {% endif %} {# // DATETIME #} {% if option.type == 'datetime' %}
    {% endif %} {# // TIME #} {% if option.type == 'time' %}
    {% endif %} {% endfor %} {% endif %} {# // RECURRING #} {% if recurrings %}
    {% endif %}
    {% endif %} {{ tbSlotStop() }} {# // Product Buy ----------------------------------------------------- #} {{ tbSlotStart('product/product.product_buy') }} {% if (price and button_cart) or tbData.common['wishlist_enabled'] or tbData.common['compare_enabled'] %}
    {% if price and button_cart %}

    {% endif %}
    {% if tbData.common['wishlist_enabled'] %} {% endif %} {% if tbData.common['compare_enabled'] %} {% endif %}
    {% if minimum > 1 %}
    {{ text_minimum }}
    {% endif %} {% endif %} {{ tbSlotStop() }} {# // Special price counter ------------------------------------------- #} {{ tbSlotStart('product/product.special_price_counter') }} {% if product_info.special_date_end is not empty %}
    {{ tbData.text_offer_ending }} {% set total_seconds = product.special_date_end|date('U') - 'now'|date('U') %} {% set days = (total_seconds / 86400)|round(0, 'floor') %} {% set hours = ((total_seconds % 86400) / 3600)|round(0, 'floor') %} {% set minutes = (((total_seconds % 86400) % 3600) / 60)|round(0, 'floor') %} {% set seconds = (((total_seconds % 86400) % 3600) % 60)|round(0, 'floor') %} {{ days }} {{ hours }} {{ minutes }} {{ seconds }}
    {% endif %} {{ tbSlotStop() }} {# // Product Reviews Summary ----------------------------------------- #} {{ tbSlotStart('product/product.product_reviews_summary') }} {% if review_status %} {% if rating %}
    {{ rating }}/5 ({{ reviews }}) {{ text_write }}
    {% else %}
    {{ tbData.text_product_not_yet_rated }} {{ text_write }}
    {% endif %} {% endif %} {{ tbSlotStop() }} {# // Product Share --------------------------------------------------- #} {{ tbSlotStart('product/product.product_share') }} {% if tbData['system.product_share']['button_facebook'] or tbData['system.product_share']['button_twitter'] or tbData['system.product_share']['button_google'] or tbData['system.product_share']['button_pinterest'] or tbData['system.product_share']['button_stumbleupon'] or tbData['system.product_share']['button_linkedin'] or tbData['system.product_share']['button_custom'] %} {% if tbData['system.product_share']['block_title'] %}

    {{ tbData.text_product_share }}

    {% endif %} {% if not tbData['system.product_share']['button_custom'] %}
    {% if tbData['system.product_share']['button_facebook'] %}
    {% endif %} {% if tbData['system.product_share']['button_twitter'] %}
    {% endif %} {% if tbData['system.product_share']['button_google'] %}
    {% endif %} {% if tbData['system.product_share']['button_pinterest'] %}
    {% endif %} {% if tbData['system.product_share']['button_stumbleupon'] %}
    {% endif %} {% if tbData['system.product_share']['button_linkedin'] %}
    {% endif %}
    {% else %}
    {{ tbData['system.product_share']['button_custom'] }}
    {% endif %} {% endif %} {{ tbSlotStop() }} {# // Product Description --------------------------------------------- #} {{ tbSlotStart('product/product.product_description') }} {% if tbData['system.product_description']['block_title'] %}

    {{ tab_description }}

    {% endif %}
    {{ description }}
    {# // Rich Snippets --------------------------------------------------- #} {% if tbData['seo_settings']['google_microdata'] is not defined or tbData['seo_settings']['google_microdata'] is not empty %} {% endif %} {{ tbSlotStop() }} {# // Product Attributes ---------------------------------------------- #} {{ tbSlotStart('product/product.product_attributes') }} {% if attribute_groups %} {% if tbData['system.product_attributes']['block_title'] %}

    {{ tab_attribute }}

    {% endif %}
    {% for attribute_group in attribute_groups %} {% for attribute in attribute_group.attribute %} {% endfor %} {% endfor %}
    {{ attribute_group['name'] }}
    {{ attribute['name'] }} {{ attribute['text'] }}
    {% endif %} {{ tbSlotStop() }} {# // Product Reviews ------------------------------------------------- #} {{ tbSlotStart('product/product.product_reviews') }} {% if review_status %} {% if tbData['system.product_reviews']['block_title'] %}

    {{ tab_review }}

    {% endif %}
    {{ text_write }}
    {% endif %} {{ tbSlotStop() }} {# // Related Products ------------------------------------------------ #} {% if tbSlotStartSystem('product/product.related_products', {'filter': ['product/product.related_products.filter', 'products']}, true) %} {% set product_settings_context = tbData['products_related'] %}{{ tbExtract(product_settings_context) }} {% if products %} {% if tbData['system.related_products']['block_title'] %}

    {{ tbData.text_product_tab_related }}

    {% endif %}
    {% set has_counter = true %} {% for product in products %} {{ tbSlotStart('products_listing.product', {'product': product, 'product_settings_context': product_settings_context}) }}
    {% if product.thumb and show_thumb %}{{ tbSlotStart('products_listing.product.thumb') }} {% if product.thumb_hover %}
    {{ product.name }}
    {% endif %} {{ tbSlotCaptureReturn() }}{% endif %}
    {% if show_title %}{{ tbSlotStart('products_listing.product.title') }}

    {{ product.name }}

    {{ tbSlotCaptureReturn() }}{% endif %} {% if product.description %}{{ tbSlotStart('products_listing.product.description') }}
    {{ product.description }}
    {{ tbSlotCaptureReturn() }}{% endif %} {% if product.price %} {{ tbSlotStart('products_listing.product.price') }}

    {% if not product.special %} {{ product.price }} {% else %} {{ product.price }} {{ product.special }} {% endif %}

    {{ tbSlotCaptureReturn() }} {% if product.tax %} {{ tbSlotStart('products_listing.product.tax') }} {{ text_tax }} {{ product.tax }} {{ tbSlotCaptureReturn() }} {% endif %} {% endif %} {% if product.special and product.special_date_end %} {{ tbSlotStart('products_listing.product.special_price_end') }} {% set has_counter = true %}

    {{ tbData.text_offer_ending }} {% set total_seconds = product.special_date_end|date('U') - 'now'|date('U') %} {% set days = (total_seconds / 86400)|round(0, 'floor') %} {% set hours = ((total_seconds % 86400) / 3600)|round(0, 'floor') %} {% set minutes = (((total_seconds % 86400) % 3600) / 60)|round(0, 'floor') %} {% set seconds = (((total_seconds % 86400) % 3600) % 60)|round(0, 'floor') %} {{ days }} {{ hours }} {{ minutes }} {{ seconds }}

    {{ tbSlotCaptureReturn() }} {% endif %} {{ tbSlotStart('products_listing.product.rating') }} {% if product.rating %}
    {{ product.rating }}/5
    {% elseif tbData.common['show_empty_rating'] %}
    {% endif %} {{ tbSlotCaptureReturn() }}
    {% if product.show_cart or show_wishlist or show_compare %}
    {% if product.show_cart %}{{ tbSlotStart('products_listing.product.button_cart') }} {{ tbSlotCaptureReturn() }}{% endif %} {% if show_wishlist %}{{ tbSlotStart('products_listing.product.button_wishlist') }} {{ tbSlotCaptureReturn() }}{% endif %} {% if show_compare %}{{ tbSlotStart('products_listing.product.button_compare') }} {{ tbSlotCaptureReturn() }}{% endif %} {% if show_quickview %}{{ tbSlotStart('products_listing.product.button_quickview') }} {{ tbSlotCaptureReturn() }}{% endif %}
    {% endif %} {% if product['show_stock'] %}{{ tbSlotStart('products_listing.product.stock_status') }}

    {{ product.stock_status }}

    {{ tbSlotCaptureReturn() }}{% endif %}
    {% if product['show_label_sale'] %}{{ tbSlotStart('products_listing.product.label_sale') }}

    {{ product.savings_text }}

    {{ tbSlotCaptureReturn() }}{% endif %} {% if show_label_new and product.is_new %}{{ tbSlotStart('products_listing.product.label_new') }}

    {{ tbData.text_label_new }}

    {{ tbSlotCaptureReturn() }}{% endif %}
    {{ tbSlotStopReturn() }} {% endfor %}
    {# // ADJUST PRODUCT SIZE #} {% if view_mode == 'grid' and within_group is empty and (tbData.optimize_js_load or tbData.system.js_lazyload) %} {% endif %} {% endif %} {{ tbSlotStop() }}{% endif %} {# // Product Tags ---------------------------------------------------- #} {{ tbData.slotStart('product/product.product_tags') }} {% if tags %} {% if tbData['system.product_tags']['block_title'] %}

    {{ text_tags }}

    {% endif %} {% endif %} {{ tbSlotStop() }} {{ footer }}Fatal error: 'Class 'Controllerproductproduct' not found'
    in /home/schoolsr/storage/modification/system/engine/action.php:71
    Stack trace:
    #0 catalog/controller/startup/router.php(25): Action->execute(Object(Registry))
    #1 /home/schoolsr/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()
    #2 /home/schoolsr/storage/modification/system/engine/router.php(71): Action->execute(Object(Registry))
    #3 /home/schoolsr/storage/modification/system/engine/router.php(60): Router->execute(Object(Action))
    #4 system/framework.php(168): Router->dispatch(Object(Action), Object(Action))
    #5 system/startup.php(104): require_once('/home/schoolsr/...')
    #6 index.php(19): start('catalog')
    #7 {main}