-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize shop page (WooCommerce) #112
Comments
Hi Calvin, Good question. The theme should be WooCommerce ready. In fact i expect at least normal WooCommerce template overwriting, as describe on http://docs.woothemes.com/document/template-structure/,should work. JBST implements http://docs.woothemes.com/document/third-party-custom-theme-compatibility/ Unfortunately i found the above don't work. (since woocommerce version 2.1?) Also described here: http://wordpress.org/support/topic/archive-productphp-template-overwrite-not-working In the next update i will add the code shown below as a quick fix to woocommerce.php:
After this fix you can overwrite woocommerce's archive-product.php tempate by adding a file with the same name to wp-content/themes/(your_theme)/woocommerce/archive-product.php. Hope this help you for now. Note your archive-product.php can look like shown below:
How to use and overwrite other templates of woocommerce asks for further investigation. In the case you use WooCommerce Twitter's Bootstrap Plugin (recommended!!) you can overwrite the product archive page as describe above. To overwrite the plugin's bs-content-product.php and placeholder.php tempates you have add a file with the same name to wp-content/themes/(your_theme)/woocommerce-twitterbootstrap/ |
Question by: cjit john (Calvin) How can I customize the product page I'm using the shortcode to display sale Items? |
Hi Calvin, Since the last update, you should be able to use WooCommerce template overwriting, as describe on http://docs.woothemes.com/document/template-structure/. For the product page you should create wp-content/themes/{child_theme}/woocommerce/content-single-product.php (which should be a copy of wp-content/plugins/woocommerce/templates/content-single-product.php ). Please let me know if this helps? I not sure how that shortcode works? Can you show an example? Best regards, Bass |
Might these video tutorial by Brandon Brotsky help you - - > https://www.brotsky.tv/2013/10/08/woocommerce-editing-shop-template-page/ |
@bassjobsen: thanks for the override suggestion using a conditional in |
Hi, I need help, I dont know how to modify this template (archive-product.php) to create this structure: http://i.stack.imgur.com/5b3aT.png Can you help me please? :( |
@testerimax thanks |
Question by: cjit john (Calvin)
How can I customize the page for shop?
The text was updated successfully, but these errors were encountered: