Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
NAP-wordpress
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marwa Sfari
NAP-wordpress
Commits
fdd8199b
Commit
fdd8199b
authored
Aug 23, 2017
by
imac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix]Product page : Download button only for logged users
parent
0ffb4cbd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
simple.php
...mes/nap/woocommerce/single-product/add-to-cart/simple.php
+3
-1
variable.php
...s/nap/woocommerce/single-product/add-to-cart/variable.php
+3
-1
No files found.
wp-content/themes/nap/woocommerce/single-product/add-to-cart/simple.php
View file @
fdd8199b
...
...
@@ -41,7 +41,9 @@ do_action('woocommerce_before_add_to_cart_form');
<ul>
<li
id =
"mozaique"
><span
class=
"icon mozaique row"
></span><span
class=
"desc"
>
Mozaïque
</span></li>
<li
id =
"zoom"
data-active=
"false"
><span
class=
"icon zoom"
></span><span
class=
"desc"
>
Zoom
</span></li>
<?php
if
(
is_user_logged_in
()
)
{
?>
<li><span
class=
"icon download"
></span><span
class=
"desc"
>
Télécharger
</span></li>
<?php
}
?>
</ul>
</div>
<div
id=
"slides"
>
...
...
wp-content/themes/nap/woocommerce/single-product/add-to-cart/variable.php
View file @
fdd8199b
...
...
@@ -94,7 +94,9 @@ do_action('woocommerce_before_add_to_cart_form');
<ul>
<li
id =
"mozaique"
><span
class=
"icon mozaique row"
></span><span
class=
"desc"
>
Mozaïque
</span></li>
<li
id =
"zoom"
data-active=
"false"
><span
class=
"icon zoom"
></span><span
class=
"desc"
>
Zoom
</span></li>
<?php
if
(
is_user_logged_in
()
)
{
?>
<li><span
class=
"icon download"
></span><span
class=
"desc"
>
Télécharger
</span></li>
<?php
}
?>
</ul>
</div>
<div
id=
"slides"
>
...
...
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