Ajustes antes de produccion
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"main": {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"main": {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"main": {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"main": {
|
||||
|
||||
@@ -3,10 +3,18 @@
|
||||
Product cards for the homepage best sellers slider.
|
||||
Requested as /collections/{handle}?sort_by=best-selling&view=bestsellers-data
|
||||
so Shopify returns the collection in best-selling order.
|
||||
Keep the page size aligned with the section maximum (12).
|
||||
Page through enough products to fill the slider after sold-out items are skipped.
|
||||
The section shows at most 12 cards.
|
||||
{% endcomment %}
|
||||
{% paginate collection.products by 12 %}
|
||||
{% paginate collection.products by 50 %}
|
||||
{% assign shown = 0 %}
|
||||
{% for product in collection.products %}
|
||||
{% render 'bestsellers-card', product: product %}
|
||||
{% if product.available %}
|
||||
{% render 'bestsellers-card', product: product %}
|
||||
{% assign shown = shown | plus: 1 %}
|
||||
{% endif %}
|
||||
{% if shown >= 12 %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endpaginate %}
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"main": {
|
||||
|
||||
@@ -3,10 +3,18 @@
|
||||
Product cards for the homepage new products slider.
|
||||
Requested as /collections/{handle}?sort_by=created-descending&view=new-products-data
|
||||
so Shopify returns the collection from newest to oldest.
|
||||
Keep the page size aligned with the section maximum (12).
|
||||
Page through enough products to fill the slider after sold-out items are skipped.
|
||||
The section shows at most 12 cards.
|
||||
{% endcomment %}
|
||||
{% paginate collection.products by 12 %}
|
||||
{% paginate collection.products by 50 %}
|
||||
{% assign shown = 0 %}
|
||||
{% for product in collection.products %}
|
||||
{% render 'bestsellers-card', product: product %}
|
||||
{% if product.available %}
|
||||
{% render 'bestsellers-card', product: product %}
|
||||
{% assign shown = shown | plus: 1 %}
|
||||
{% endif %}
|
||||
{% if shown >= 12 %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endpaginate %}
|
||||
|
||||
+1
-264
File diff suppressed because one or more lines are too long
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"main": {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"glow_army": {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"main": {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"main": {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"layout": "password",
|
||||
"sections": {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
{% layout none %}
|
||||
{% render 'collection-card', product: product, form_suffix: 'recent' %}
|
||||
{% render 'collection-card', product: product, form_suffix: 'recent', badge_mode: 'collection' %}
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"main": {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/*
|
||||
* ------------------------------------------------------------
|
||||
* IMPORTANT: The contents of this file are auto-generated.
|
||||
*
|
||||
* This file may be updated by the Shopify admin theme editor
|
||||
* or related systems. Please exercise caution as any changes
|
||||
* made to this file may be overwritten.
|
||||
* ------------------------------------------------------------
|
||||
*/
|
||||
{
|
||||
"sections": {
|
||||
"main": {
|
||||
|
||||
Reference in New Issue
Block a user