Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jeff Balicki
/
st_joseph
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
65ee1c05
authored
2023-03-16 10:44:47 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Apply SJGHC Staff Coupon Code
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
e767683d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
wp-content/themes/crlg/woocommerce/cart/cart.php
wp-content/themes/crlg/woocommerce/checkout/form-coupon.php
wp-content/themes/crlg/woocommerce/cart/cart.php
View file @
65ee1c0
...
...
@@ -140,7 +140,7 @@ do_action( 'woocommerce_before_cart' ); ?>
<?php
if
(
wc_coupons_enabled
()
)
{
?>
<div
class=
"coupon"
>
<label
for=
"coupon_code"
>
<?php
esc_html_e
(
'Coupon:'
,
'woocommerce'
);
?>
</label>
<input
type=
"text"
name=
"coupon_code"
class=
"input-text form-control"
id=
"coupon_code"
value=
""
placeholder=
"
<?php
esc_attr_e
(
'Coupon code'
,
'woocommerce'
);
?>
"
/>
<button
type=
"submit"
class=
"btn btn-outline-primary"
name=
"apply_coupon"
value=
"
<?php
esc_attr_e
(
'Apply
coupon'
,
'woocommerce'
);
?>
"
>
<?php
esc_attr_e
(
'Apply coupon
'
,
'woocommerce'
);
?>
</button>
<label
for=
"coupon_code"
>
<?php
esc_html_e
(
'Coupon:'
,
'woocommerce'
);
?>
</label>
<input
type=
"text"
name=
"coupon_code"
class=
"input-text form-control"
id=
"coupon_code"
value=
""
placeholder=
"
<?php
esc_attr_e
(
'Coupon code'
,
'woocommerce'
);
?>
"
/>
<button
type=
"submit"
class=
"btn btn-outline-primary"
name=
"apply_coupon"
value=
"
<?php
esc_attr_e
(
'Apply
SJGHC Staff Coupon Code'
,
'woocommerce'
);
?>
"
>
<?php
esc_attr_e
(
'Apply SJGHC Staff Coupon Code
'
,
'woocommerce'
);
?>
</button>
<?php
do_action
(
'woocommerce_cart_coupon'
);
?>
</div>
<?php
}
?>
...
...
wp-content/themes/crlg/woocommerce/checkout/form-coupon.php
View file @
65ee1c0
...
...
@@ -36,7 +36,7 @@ if ( ! wc_coupons_enabled() ) { // @codingStandardsIgnoreLine.
</p>
<p
class=
"form-row form-row-last"
>
<button
type=
"submit"
class=
"btn btn-outline-primary"
name=
"apply_coupon"
value=
"
<?php
esc_attr_e
(
'Apply
coupon'
,
'woocommerce'
);
?>
"
>
<?php
esc_html_e
(
'Apply coupon
'
,
'woocommerce'
);
?>
</button>
<button
type=
"submit"
class=
"btn btn-outline-primary"
name=
"apply_coupon"
value=
"
<?php
esc_attr_e
(
'Apply
SJGHC Staff Coupon Code'
,
'woocommerce'
);
?>
"
>
<?php
esc_html_e
(
'Apply SJGHC Staff Coupon Code
'
,
'woocommerce'
);
?>
</button>
</p>
<div
class=
"clear"
></div>
...
...
Please
register
or
sign in
to post a comment