I am using dynamic pricing plugin to configure products price based on the role. It works fine from the functionality perspective. But it displays both the regular price and the configured price on the screen. I am wondering that is there a way to hide the regular price and only shows the configured price?
(With the regular price that's more like a discount or products on sale but they are not. They are just the actual price for a certain role. )
I hope this may help you, if you are using Woo-commerce plugin:
Go to woocommerce plugin © the templates folder & paste in your theme folder.
Rename that templates folder name with woocommerce name in your theme folder.
open the newly named templates folder i.e. woocommerce folder & go to loop folder & open the price.php file & comment the code according to your requirement. This will hide price on the products page.
Now open the single-product folder & open the price.php file & comment the code according to your requirement. This will hide the price tag on your single product page.
You can hide the div that is displaying the deleted price.
p.price>del>span.woocommerce-Price-amount.amount
{
display: none !important;
}
This should hide regular price from woocommerce. Add to additional CSS.
.price>del>span:nth-child(1)
{
display: none !important;
}
Related
How can i modify template page of WOOF - Products Filter wordpress plugin. I have my child theme to implement. Like i have enable extension called By rating. I just want to change the dropdown value of By Rating filter options
You can also change the values directly from the woof.php file, it is located under the following folder
plugins/woocommerce-products-filter/ext/by_rating/views
woof.php
I would like to replace the Add to Cart button in woocommerce to a button that links to the "file url"specified for all downloadable products. I did find some plugins like "download now", but they expect an actual file while i often entered an url pointing to an external html page as file url instead of the actual file url.
You need external products instead of downloadable products. There are many plugins in the market which supports external products.
You can use default woocommerce feature. Follow these steps:
Make product Virtual & Downloadable
Goto Woocommerce >> Settings >> Products >> Downloadable products
Here for "File download method" option select redirect only
This will work as you want!
I am new to Woocommerce.
I need to make product list pages for Windows, Android, and Accessories.
I already organized them by categories and made setting to display by "categories and subcategories."
However, in Shop page, still the products are showing.
Can anyone tell me what is wrong with this?
Also, how to make multiple category product pages?
For example, windows products page only need to show Windows products. And Android products page only need to show Android products.
Thanks,
WooCommerce has default product category template and it has a default slug named 'product-category'.
So you can show different products by using the link likes:
http://yoursite.com/product-category/windows
http://yoursite.com/product-category/android
There are also some plugins that provide shortcodes/elements, so you can insert the shortcode or element on your page to show products for specific cateogry.
For example, if you are using WooCommerce with Visual Composer, there is a Product Categories element.
So you can insert the element with specific category setting on your page.
First you should delete the shop page and make a page what you want to name. Also make a category with the same name. Then use this short code [products limit="8" columns="4" category="hoodies, tshirts" cat_operator="AND"] . In the place of hoodie and tshirt you specify your own category's slug name and that's it. And paste it in the page short code box. Now the page will only show one specific category product in a single page. You can also change products limit and number of products in a row.
(Site runs on Avada child+WP+woo)
Woo commerce product page has the product title as appears near the product image.
I'm looking for a way to add the product name, one of it's attributes, e.g. "Disney's little princess - DVD" where "Disney's little princess" is the original product name and "DVD" is taken from one of the product attributes.
I would appreciate any help.
Follow the following steps
Place the woocommerce template files in your theme
Go to the file
your template folder>Woocommerce >single-product>title.php
Edit this file as you want
I'm new to wordpress. I've instaled woocommerce plugin in wordpress 3.9.1. And installed the add-on https://github.com/dgrundel/woo-product-importer to import the products. I imported a csv file with 15 products. All those products are belongs to one category. But when I see the frontend that category page, it shows only 5 products. Rest of the products are missing. How can I fix this? Any help will be appreciated.
Thanks
WooCommerce has an easy (I think) solution to this problem if you're still looking for one. Just set-up a page for each of your products and use this shortcode:
[product_category category="appliances"]
Replace appliances with whatever your category name is. It shows all your products of that category and gets you out of the WooCommerce loop so you can add more styling and content to your page.
Try checking Settings > Reading and see what it shows under "Blog pages show at most:" thats setting dictates how posts get shown on a page before pagination. That setting also affects how many products WooCommerce displays.