update
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,25 @@
|
||||
{**
|
||||
* Creative Elements - live PageBuilder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_PRODUCT_MINIATURE_UID) && get_class($CE_PRODUCT_MINIATURE_UID) === 'CE\\UId' &&
|
||||
file_exists("{$smarty.const._CE_TEMPLATES_}front/theme/catalog/_partials/miniatures/product-$CE_PRODUCT_MINIATURE_UID.tpl")}
|
||||
{if !isset($productClasses)}
|
||||
{if !isset($layout)}
|
||||
{$layout = Context::getContext()->controller->getLayout()}
|
||||
{/if}
|
||||
{if preg_match('/(left|right|both)-column/', $layout)}
|
||||
{$productClasses = 'col-xs-6 col-xl-4'}
|
||||
{else}
|
||||
{$productClasses = 'col-xs-6 col-xl-3'}
|
||||
{/if}
|
||||
{/if}
|
||||
{include "catalog/_partials/miniatures/product-$CE_PRODUCT_MINIATURE_UID.tpl"}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/catalog/_partials/miniatures/product.tpl")}
|
||||
{include '[1]catalog/_partials/miniatures/product.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{include 'parent:catalog/_partials/miniatures/product.tpl'}
|
||||
{/if}
|
||||
@@ -0,0 +1,96 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{extends file='catalog/product.tpl'}
|
||||
|
||||
{block name='page_content'}
|
||||
{capture ce_page_content}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_flags' append}
|
||||
{capture ce_product_flags}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_cover_thumbnails' append}
|
||||
{capture ce_product_cover_thumbnails}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_prices'}
|
||||
{capture ce_product_prices}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_customization'}
|
||||
{capture ce_product_customization}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_pack'}
|
||||
{capture ce_product_pack}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_discounts'}
|
||||
{capture ce_product_discounts}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_availability'}
|
||||
{capture ce_product_availability}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_minimal_quantity'}
|
||||
{capture ce_product_minimal_quantity}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_quantity'}
|
||||
{capture ce_product_actions}{hook h='displayProductActions' product=$product}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_additional_info'}
|
||||
{capture ce_product_additional_info}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='hook_display_reassurance'}
|
||||
{capture ce_hook_display_reassurance}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_tabs'}
|
||||
{capture ce_product_tabs}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_reference' append}
|
||||
{capture ce_product_reference}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_quantities' append}
|
||||
{capture ce_product_quantities}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_availability_date' append}
|
||||
{capture ce_product_availability_date}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_out_of_stock' append}
|
||||
{capture ce_product_out_of_stock}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_features' append}
|
||||
{capture ce_product_features}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_specific_references' append}
|
||||
{capture ce_product_specific_references}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_condition' append}
|
||||
{capture ce_product_condition}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_accessories'}
|
||||
{capture ce_product_accessories}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_footer'}
|
||||
{capture ce_product_footer}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
@@ -0,0 +1,21 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_PRODUCT_QUICK_VIEW_ID)}
|
||||
<form id="add-to-cart-or-refresh" action="{$urls.pages.cart}" method="post" style="display:none">
|
||||
<input type="hidden" name="token" value="{$static_token}">
|
||||
<input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id">
|
||||
<input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id">
|
||||
<input type="hidden" name="qty" value="{$product.quantity_wanted}" id="quantity_wanted">
|
||||
<input type="submit" class="ce-add-to-cart" data-button-action="add-to-cart">
|
||||
</form>
|
||||
{call_user_func('CE\\apply_filters', 'the_content', '')|cefilter}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/catalog/_partials/quickview.tpl")}
|
||||
{include '[1]catalog/_partials/quickview.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{include 'parent:catalog/_partials/quickview.tpl'}
|
||||
{/if}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,60 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_PRODUCT)}
|
||||
{$ce_layout=$layout}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/catalog/product.tpl")}
|
||||
{$ce_layout='[1]catalog/product.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{$ce_layout='parent:catalog/product.tpl'}
|
||||
{/if}
|
||||
|
||||
{extends $ce_layout}
|
||||
|
||||
{if isset($CE_PRODUCT)}
|
||||
{block name='head_seo' prepend}
|
||||
<link rel="canonical" href="{$product.canonical_url}">
|
||||
{/block}
|
||||
|
||||
{block name='head' append}
|
||||
<meta property="og:type" content="product">
|
||||
{if version_compare($smarty.const._PS_VERSION_, '1.7.8', '<')}
|
||||
<meta property="og:title" content="{$page.meta.title}">
|
||||
<meta property="og:description" content="{$page.meta.description}">
|
||||
<meta property="og:url" content="{$urls.current_url}">
|
||||
<meta property="og:site_name" content="{$shop.name}">
|
||||
{/if}
|
||||
{if $product.cover}
|
||||
<meta property="og:image" content="{$product.cover.large.url}">
|
||||
{/if}
|
||||
{if $product.show_price}
|
||||
<meta property="product:pretax_price:amount" content="{$product.price_tax_exc}">
|
||||
<meta property="product:pretax_price:currency" content="{$currency.iso_code}">
|
||||
<meta property="product:price:amount" content="{$product.price_amount}">
|
||||
<meta property="product:price:currency" content="{$currency.iso_code}">
|
||||
{/if}
|
||||
{if !empty($product.weight)}
|
||||
<meta property="product:weight:value" content="{$product.weight}">
|
||||
<meta property="product:weight:units" content="{$product.weight_unit}">
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='content'}
|
||||
<section id="content" style="max-width: none;" itemscope itemtype="https://schema.org/Product">
|
||||
<meta itemprop="url" content="{$product.url}">
|
||||
<form id="add-to-cart-or-refresh" action="{$urls.pages.cart}" method="post" style="display:none">
|
||||
<input type="hidden" name="token" value="{$static_token}">
|
||||
<input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id">
|
||||
<input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id">
|
||||
<input type="hidden" name="qty" value="{$product.quantity_wanted}" id="quantity_wanted"
|
||||
{if $product['show_quantities']}data-stock="{$product.quantity}" data-allow-oosp="{$product.allow_oosp}"{/if}>
|
||||
<input type="submit" class="ce-add-to-cart" data-button-action="add-to-cart">
|
||||
</form>
|
||||
{$CE_PRODUCT|cefilter}
|
||||
</section>
|
||||
{/block}
|
||||
{/if}
|
||||
Reference in New Issue
Block a user