First a line about me: I have skills in html & css but no skills in php. I am new to wordpress, but I learned already to build a wordpress theme for my own from scratch. If I had a problem, I always found a solution on the internet. Now I have a problem and after searching for hours, I haven’t found any helpful tips.
I want to make a website with a little webshop inside, only one product for now. I did choose WooCommerce because it is popular and i thought maybe it works like wordpress. Now I have the problem that I have no idea how to design my site. I am sitting in front of countless files with code i do not understand. I want something similar to thie website below. Right half with an image and left half with product title, description and “add to cart” button. No category, no filters, no shop overview. Just a front page with one product.
Is it possible to do the same like designing a wordpress theme like <h2><insert title code></h2> then <p><insert product description code></p> or does WooCommerce works completely different? All tutorials I found were not helpful for me.
http://ilyaskin.com/mono/
There is a lot of question here then I will answer to one of these and I think it's better to create a new discussion for each other question.
If you to have only a product, you can start to put a shortcode to display the product details with button "add to cart" :
https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-12
The next step is to customise the display and for that, the first question is to know if the theme can be updated. If yes, you have to start with a child theme :
https://developer.wordpress.org/themes/advanced-topics/child-themes/
Related
I have a WordPress site where I am using a purchasaed template and woocommerce for the shop. The problem is on the shop page the right bar gets pushed down. When I enquired about this issue from the developers of the template I was told to purchase shop beginner kit for the problem to fix.
That doesn't make sense to me, there must be a way to put the right bar properly to the right on the shop page when it is working fine on the other pages by editing either the PHP or CSS.
I tried editing the quick css, however, all it did was from the bar from left side to right side, however, it still stayed below.
Would appreciate any direction that someone can give as to which php to edit and how to go about it, my WordPress knowledge is at beginners level.
The page in questions would be
http://needlestosaymore.com/product-category/house-warmers/
one needs to edit archive-product.php page accordingly to make the changes which is found in the woocommerce plugin folder
I want to add shop to a site. But, before using the tools I need to know if I'm using the right ones
The site is already built in a form of a blog with different articles. In this stage I want to add a shop and I decided to use Woocommerce as a plugin.
The point is that i don't know how to continue. Should i build a child-theme for the shop to take the same style of the website that is already build?
Many of you might suggest shopiffy but at this point I want to have an idea more about the woocommerce.
I'm currently developing a one page website using Wordpress and a custom theme and I'm struggling to understand how I can integrate WooCommerce checkout (and WooCommerce Booking plugin) on my index page, which contains everything rather than using /shop/ etc.
Is that even doable?
The website can be seen here: http://a-maze-in.com but the booking section is empty for now (it's live)
Any insight deeply appreciated.
Cheers.
[edit]
To be more specific, my question would be: How can I handle every step of the shop and checkout process on a single page? (that would be my index)
[/edit]
Turns out that my main problem was wp_footer(); missing from the footer.php page on my Custom theme. That little thing wasn't trigging the WooCommerce functionalities (and more specifically the functionnalities linked to the Bookings Plugin)
I've amended that and now it's working on my page. I still have a lot to figure out (like how can I do the checkout on that same page) but now I can work with that.
How do you enable multiple category_description(); on wordpress category description pages? What I have been able to find out is that you can only have one on a category page. I may be wrong, that's why I'm here :)
The codex https://codex.wordpress.org/Function_Reference/category_description doesn't seem to say anything about enabling multiple category_descriptions for categories.
I would really love to have one description at the top (before the content), and one description below (after the content) in the front end. Trying to use this on a woocommerce product category page. Most hosted ecommerce platforms have this description above and below implemented. Of course, this will be useful for all post types as well. Any help appreciated!
You need to create an extra field hook. Have a look at this.
I know that I can go and change my theme's style.css file to change the background color of my widget areas, or if I make a custom widget area, I can give that a specific class and thus a custom background image in the style.css, but I need to give the user control for a few widget areas.
I have searched and searched and have not found any relevant information. Does anybody have any idea how I could do this? I really don't know how to make a widget AREA customizeable, and I would really appreciate any pointers in the right direction or assistance that anyone can provide.
EDIT
To be clear, I know how to add a custom widget area to my site. I have no idea how to add a customizeable option to the widget area, rather than a custom widget. As far as I understand it, widget areas are a set thing, are they not? Any pointer to a theme that does this would be greatly appreciated, as all of my google searches only end up pointing me to how to create a custom widget area, rather than a customizeable widget area.
Check the following two links if it is helpful for you.
http://theme.fm/2011/06/tutorial-creating-a-twitter-widget-for-wordpress-91/
http://wp.tutsplus.com/tutorials/creative-coding/building-custom-wordpress-widgets/
My understanding of your question is that you are looking for a way to allow the client/admin to modify the widgets that are displayed on any given page/post (rather than modify the widgets themselves).
This is a problem I have tried various ways to solve, never adequately imo. First of all there's the option to create a widget area for each page dynamically. I've seen it in commercial themes, I've done it myself, it is not without it's problems as you can see here - Register new widget position moves existing widgets
There are plugins that can do this, again not without their drawbacks. This plugin;
http://www.codeandmore.com/products/wordpress-plugins/wp-page-widget/
http://wordpress.org/plugins/wp-page-widget/
Is great, I love it. BUT it does not work on custom page template, be aware (I've not looked at modifying to allow this, I've seen a post by the developers saying they have no intention of adding this).
There is this plugin - http://strategy11.com/display-widgets/ by the developer of the Formidable plugin, for me it makes the widget area far too complex if you have a lot of widgets and a lot of pages.
Finally there is what I ended up doing recently - using this code by Chris Coyier
http://digwp.com/2010/04/call-widget-with-shortcode/
To do my own custom code using the Wordpress function the_widget (http://codex.wordpress.org/Function_Reference/the_widget) to deploy certain widgets on a page by page basis.