20. WooCommerce
Templates
CreaFng
Templates
• Copy
the
files
from
the
WooCommerce
plugins
template
directory
to
a
WooCommerce
directory
in
your
theme
folder.
• You
only
need
to
copy
files
that
you
wish
to
modify,
not
every
template
file
• Do
not
copy
the
templates
folder
• Do
not
modify
files
in
the
plugin
directory
22. Modifying
a
Template
Displaying
Products
by
Date
within
Category
• Remove
link
to
sub-‐category
• Query
the
products
ordering
by
date
• Call
the
product
template
to
output
the
products
The
code
is
in
content-‐product_cat.php.
24. Modifying
a
Template
Showing
the
Waitlist
Form
• Check
if
the
product
is
in
stock
• If
the
product
not
in
stock
show
the
waitlist
email
form
The
code
is
in
single-‐product/add-‐to-‐cart/simple.php.
26. Modifying
a
Template
Showing
the
Image
CapFon
• Check
if
a
post
thumbnail
exists
• Grab
the
post
excerpt
(capFon)
• Add
HTML
to
display
the
capFon
The
code
is
in
single-‐product/product-‐image.php