Skip to content

Instantly share code, notes, and snippets.

{
"name": "Dr. Comfort Men's Ruk Diabetic Shoes - Brown",
"reference": 0,
"on_sale": 1,
"available_now": "",
"category": "Diabetic Shoes Men",
"categories": [
"Other Products",
"Other Products /// Diabetes",
"Other Products /// Diabetes /// Diabetic Shoes",
@Dh42
Dh42 / informations.tpl
Last active December 4, 2017 19:58
Adding new from date to product page
{*
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
@Dh42
Dh42 / product.css
Created July 6, 2017 19:20
Adding tabs to thirty bees
.primary_block {
margin-bottom: 30px;
}
#image-block {
position: relative;
cursor: pointer;
background: #fff;
}
@Dh42
Dh42 / product.css
Created July 6, 2017 05:31
product.tpl for tabs in thirty bees
.idTabs {
list-style-type:none;
margin-top:20px;
}
ul.idTabs li {
float:left;
margin-right:-1px;
}
var triggered_filter = false;
jQuery(document).ready(function ($) {
//unbind default search module
$('#search_query_top').unbind();
var my_category_title = $('#columns').find('h1.page-heading');
{
"name": "HPI Nitro RS4 MT2",
"product_count": 158,
"url": "https://www.rcplanet.com/Nitro_RS4_MT_2_RTR_s/999.htm",
"path": "Shop All / RC Parts Department / Traxxas R/C Parts / Redcat R/C Parts / HPI R/C Parts / HPI Nitro RS4 MT2",
"objectID": "999"
}
{
"name": "Traxxas Slash 4x4 SC Truck with iD Technology TRA70054-1",
"reference": "70054-1",
"on_sale": 0,
"available_now": "In Stock",
"category": "Car & Truck",
"categories": [
"Shop by Brand",
"Shop by Brand /// Traxxas",
"Gift Guide",
{*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
@Dh42
Dh42 / gist:b9beed34a261e18aec9e
Created April 22, 2015 19:37
dh42 Affiliate Hook
$this->registerHook('displayBackOfficeHeader')
@Dh42
Dh42 / gist:16666461e80b79104e12
Created April 22, 2015 19:35
dh42 BO Header for Affiliates
public function hookDisplayBackOfficeHeader($params)
{
if( isset($this->context->controller->dh_support) )
return;
$this->context->controller->dh_support = 1;
if (version_compare(@_PS_VERSION_,'1.6','<'))