I want to sell just one item on my store. I am looking for something that resembles https://westcoastvapesupply.com/products/sour-worms-ejuice-by-candy-king-100ml .
I also don't want the product bar since it's just one item.
I want to sell just one item on my store. I am looking for something that resembles https://westcoastvapesupply.com/products/sour-worms-ejuice-by-candy-king-100ml .
I also don't want the product bar since it's just one item.
The WC single item template is located at:
yoursite.com/wp-content/plugins/woocommerce/templates/single-product.php
See this documentation:
https://docs.woocommerce.com/document/template-structure/
So, you would want to move any of those templates to your child theme under /wp-content/themes/your-child-theme/woocommerce/[any_template_you_want]
So, for example, if you wanted to edit the single-product.php but safe from WC updates, you would put the file in this directory and do your mods:
www.yoursite.com/wp-content/themes/your_child_theme/woocommerce/single-product.php
Last thing to mention here is keep the directory structure as well. So, if you want to edit something in the 'emails' folder, it would be like this:
www.yoursite.com/wp-content/themes/your_child_theme/woocommerce/emails/admin-new-order.php
(just for example sake)
So, copy any templates you want to modify using that documentation above and you will be safe from any updates over time.
Why would you need to edit the template for single item? Do you want to customize the template to change its look and feel?
If not, this is how you add a single item to your website -
There you have it. A single product on your site linked directly from the MENU.
IF YOU ARE STILL LOOKING FOR THE TEMPLATE THEN FOLLOW THE INSTRUCTIONS BELOW -
Note: Any change you make to this template will be overwritten whenever you update the Woocommerce plugin. So changes should be made through your theme's functions.php file.