This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Replace contribution titles with the contribution image | |
* | |
* NOTE: requires version higher than 1.6.3 to use this filter | |
* | |
* @param string $title the contribution title | |
* @param \WC_Contribution $contribution the contribution object with comment data | |
* @return string - updated title | |
*/ | |
function sv_wc_prp_replace_widget_contribution_title( $title, $contribution ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // only copy if needed | |
/** | |
* Modify Start Day for Local Pickup Plus Calendar | |
* | |
*/ | |
function sv_local_pickup_cal_start() { | |
$day = '0'; // int starting day of the week as numerical entity (0 = Sunday, 6 = Saturday, default 1 = Monday) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ BEGINNING OF FILE, ABOUT 199 LINES }} | |
<div class="container"> | |
<div class="three columns logo {% if section.settings.logo_home != nil %}secondary-logo--true{% endif %}"> | |
<a href="{{ shop.url }}" title="{{ shop.name }}"> | |
{% if section.settings.logo != nil or section.settings.logo_home != nil %} | |
{% if section.settings.logo != nil %} | |
<img src="{{ section.settings.logo | img_url: '410x' }}" alt="{{ shop.name }}" class="primary_logo" /> | |
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if product.available %} | |
{% if section.settings.show_payment_button %} | |
{% assign show_payment_button = true %} | |
{% elsif show_payment_button_quickshop %} | |
{% assign show_payment_button = true %} | |
{% else %} | |
{% assign show_payment_button = false %} | |
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...around line 39 | |
<form class="form-add-to-cart form-horizontal" action="/cart/add" method="post" enctype="multipart/form-data" id="addToCartForm"> | |
- {% include 'product-customizer' %} | |
<div class="desc_blk"> | |
<h5>{{ 'products.general.description' | t }}</h5> | |
<!-- variations section --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...(beginning of file, about 20 lines) | |
<table class="responsive-table"> | |
<thead> | |
<tr> | |
<th>{{ 'customer.order.product' | t }}</th> | |
<th>{{ 'customer.order.sku' | t }}</th> | |
<th>{{ 'customer.order.price' | t }}</th> | |
<th>{{ 'customer.order.quantity' | t }}</th> | |
<th>{{ 'customer.order.total' | t }}</th> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if settings.quick_shop_enabled and product.metafields.product_customizer == empty %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.product-customizer-options .jumpstart-selector { | |
display: inline-block; | |
} | |
.product-customizer-options, .product-customizer-customizations-total { | |
clear: both; | |
padding: 0 15px; | |
} | |
.product-customizer-options .arrow { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/d13c5202beb63880b327085a24e3404d |
NewerOlder