Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
sublima
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
46
Issues
46
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
accounting
sublima
Commits
f89800fe31c7
Commit
b1f8e402
authored
Dec 01, 2020
by
M3nt0r3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ritocchi al product _list
parent
4feaa7e26d7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
tpl/main/base/product_list.html
tpl/main/base/product_list.html
+6
-6
No files found.
tpl/main/base/product_list.html
View file @
f89800fe31c7
...
...
@@ -237,7 +237,7 @@
<!-- rating -->
{% if pageData["sy"]["shop_item"]["rating"]["attivo"]%}
{
% include "main/base/include/_shop_rating.html" with context %
}
{
#% include "main/base/include/_shop_rating.html" with context %#
}
{% endif %}
<!-- price -->
...
...
@@ -333,15 +333,14 @@
</div>
{%else %}
{% if utils.setconf("General", "web") and utils.setconf("General", "web")["__web_disponibilita_giacenza"] =="on" and
not art.in_stock %}
{% if utils.setconf("General", "web") and utils.setconf("General", "web")["__web_disponibilita_giacenza"] =="on" and not art.in_stock %}
<div
class=
"shop-item-buttons text-center"
>
<span
class=
"
out-of-stock
text-warning"
>
Non disponibile
</span>
<!-- add .clean to remove css characteres -->
<span
class=
"text-warning"
>
Non disponibile
</span>
<!-- add .clean to remove css characteres -->
</div>
{%else %}
<div
class=
"shop-item-buttons text-center up_cart"
id=
"{{art.id}}"
>
{% if pageData["sy"]["shop_item"]["add_button"]["quantita"]%}
{% if pageData["sy"]["shop_item"]["add_button"]["quantita"]
%}
<div
class=
"contieniBottoni2"
>
<div
class=
"contieniBottoni3"
>
<input
class=
"quantita2"
value=
"1"
type=
"text"
/>
...
...
@@ -379,7 +378,8 @@
</div>
<a
class=
"btn btn-default bottoneRapido"
><i
class=
"fa fa-cart-plus"
></i>
Acquista
</a>
</div>
{% elif "bottone_per_genere" in pageData["sy"]["shop_item"] and pageData["sy"]["shop_item"]["bottone_per_genere"]["attivo"]%}
{% elif "bottone_per_genere" in pageData["sy"]["shop_item"]
and pageData["sy"]["shop_item"]["bottone_per_genere"]["attivo"]%}
{%for a in utils.articoliPadreStessoRoot(art.root)%}
{%if a.genere%}
<a
class=
"btn btn-default"
href=
"/products/detail/{{a.id}}/{{a.permalinkDenominazioneFam}}/{{a.permalinkDenominazione}}"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment