Thanks for taking a look at this. I’ve been looking and looking for a solution to what seems like a simple thing to do but nothing yet. Here goes:
When you click on "Specialty" in the main menu it goes here:
Home /Specialty
When you click one of the product images on the home page it goes here:
Home /Specialty /Holiday Satin Stocking (Full product description page)
I need all products with full product information to end up at
Home /Specialty
Page set-up would be: Click on Menu item or an image to show like this:
|||Product1||| Product Description Add to cart
|||Product2||| Product Description Add to cart
|||Product3||| Product Description Add to cart
I would like to override going "Home /Specialty /Holiday Satin Stocking" all together with listing all the information here: Home /Specialty
"Specialty" is set up as an anchor and all products types are simple.
Thanks so much!
You need to edit the product list template and add in the appropriate getters ($_product->getDescription, etc.) to that phtml file.
Related
I am using WooCommerce, and I use links to the product category archive pages on my home page to send customers to the product types they are seeking. These product category archive pages play a key role on my website--almost replacing the shop page, so I want Google to recognize the pages on their own merit.
In the product category archive editor, I've entered SEO text for each of my product category archive pages in the text box available. However, this pushes the products down the page so they don't show.
I would like to have the SEO text below the products. I have tried James Hahn's solution suggested here: Adding Additional Text To a Product Category Page in Woocommerce However, my whole website breaks when I do this. Obviously, I'm missing something.
I would have tried LoicTheAztec's answer, but I'm not clear on how to add the hooked function and where.
Sorry, I'm pretty new to PHP.
I am new to wordpress, please let me know how the following can be done.
I am displaying woocommerce grouped product in a wordpress page via short code.
I have removed category title under product name via css
Is it possible to display the child products and add to cart button( instead of view products ) with the validation so that i don't have to go to product page
enter image description here
Thanks in advance
I want to add New product visibility option so product visible but only for direct URL. website visitors not able to find product / search product on website. if i send link to someone then he can see the product only.
i was thinking to create one hidden category and add product under this category and call block under cms page. please suggest.
Thanks
You can simple create a product
Set 'Visibility' to 'Catalog'
Don't add the product to any category
I am creating simple image banners on the top of each category page of my site (add category header content)
I'd like to add an image to the top of the woocommerce shop base page.
When I insert an image in the page edit screen, it does not appear.
But Woocommerce 2.x can not display the shop base page excerpt (short description)
others normal page are all show their short description.
How would I go about doing that?
I can not find page template of the woocommerce shop page
Thanks!
http://wordpress.org/extend/plugins/woocommerce/
I found it!
Insert into the top of yourtheme/woocommercer/achive-product.php
//Check is_shop - Shop base page
// if True then Show Category Header Content of The first Product in Shop base Page
if (is_shop()) {
$args = array('taxonomy' => 'product_cat');
$product_categories = get_categories( $args );
$term_id = $product_categories[0]->term_id;
$content = get_term_meta($term_id, 'cat_meta');
if(isset($content[0]['cat_header'])){
echo do_shortcode($content[0]['cat_header']);
}
}
Hope to help someone! :)
Just thought I would share how I accomplished this so easily. On your shop page click "screen options" at the upper right of the page. Checkmark "Exerpt". Scroll down to the Exerpt box. (there will be a new box to type in there.) Here you can type in the url to your image using html. Click update to update your page. Now you will have the image or banner you want under your shop title. I also removed the title "Shop" by simply removing it from my page title on the page where you edit your shop. Then I changed the menu option in menus back to the shop title. Hope this helps someone. It sure would have helped me to know this sooner.
Just create the id or class on the top where you want to add the image banner at the top and after that you just go to the admin dashboard and then.
Apperance-> custom css and
.your_custom_css_top {
background-image:url('IMAGE_URL_HERE');
}
To add Banner Images for All WooCommerce Default Pages (Cart, Thankyou, Checkout, Shop), You have a setting page Like below to add or enable Banner display on pages. Also, add a link option for Banner click and an alt text field to add SEO purpose text.
Thanks for sharing some link it helps a lot. But I see there is another link with good reviews https://codecanyon.net/item/woocommerce-banner-images-products-post-categories/25545174
For a reference of the website i am developing you can view it here: http://prettyloxx.netii.net/
I am creating a ecommerce website using wordpress and woocommerce together in a theme
that i added the woocommerce support to. it would's great but however i am a little stuck.
What i would like to do is to place a single specific product on the bottom of the homepage with its options.
So ideally, i would for example like to add a single product such as http://prettyloxx.netii.net/?product=wefts on the homepage after the homepage content, howevere without the product's description. So on the hompage the user would see the attributes and options as well as the product image at the bottom of the page, select them and then click on the checkout button directly from the homepage.
Thank you in advance,
You can add [product id="99"] or [product sku="FOO"] Shortcode for specific product to add your homepage. Or if you want feature products then woocommerce gives the shortcode [featured_products per_page="12" columns="4"] for that. Hope those will help you.
Here we can use Id of single woocoomerce product ,
[product id="42632 "]
and for sku
[product sku="examplesku"]
and we can show products of a specific category
[products columns="3" category="solar-lantern"]
In above shortcode just pass the slug of the category and products are shown of this specific category