Roy Ho
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Can I have multiple sites linking all to one orders page?More detail from you is needed. Such as are all the sites identical in design and just different domain names? If so, that is easy as you can simply point the domain to resolve to one setup. On the other hand if they are all different designs and different domains, it will be a bit trickier to pull off but still can be done.
You can probably setup a site ONLY for checkout purposes which will handle incoming purchase requests from your other sites. You can either choose to use parameters via URL on a GET method or use POST method ( preferred ). This data will be captured on your checkout site and add those items to the cart.
The only thing you may have to do is have the same products created on each site.
Forum: Plugins
In reply to: [WooCommerce] Adding image to attribute in woocommerceI don’t recall if WC already has a template tag for you to output this but you can do this yourself. So assuming “collecties” is a normal WP page, you can create a file named “page-collecties.php” in your theme folder and this file will be loaded whenever someone visits that page. So in that file, you can first copy the default loop from say the normal page.php file of your theme. Then utilize WP_Query to generate a new terms object of the brands you would like to show. The object will contain all the information you need including title/description/thumbnails…etc.
Again, there may be already functions that do this by WC but I don’t remember. I usually build my own custom loops as this gives me full control of the output.
Forum: Plugins
In reply to: [WooCommerce] Items only 10px wide?!?No it is not generated by WC. It is most likely your theme.
Forum: Plugins
In reply to: [WooCommerce] Items only 10px wide?!?Because your CSS is set to 8px wide. Look for yourself using firebug.
Forum: Plugins
In reply to: [WooCommerce] Trying to Override WC css – Not WorkingYes. Also note that you should use a “less” compiler and generate a non-minified version of the WC styles less file so that way you can read the CSS and change as needed. Because if you copy the file with CSS extension, that file is already minified and is not easily readable.
So those are your two options. Copy the minified css into your theme’s styles and then write CSS below that to override the style you want. OR the better way is what I have mentioned about compiling the less as non-minified version.
Forum: Plugins
In reply to: [WooCommerce] Adding image to attribute in woocommerceWhy do you need attributes to setup that page when that page can be create via categories in which does have images…?
Forum: Plugins
In reply to: [WooCommerce] Trying to Override WC css – Not WorkingEvery theme is different so you have to first determine what styles file you can use which won’t be erased on the theme update. Good themes will have a way for you to do that.
Then you would paste the WC styles into that file.
Forum: Plugins
In reply to: [WooCommerce] Adding image to attribute in woocommerceImages are added to the variation, not attribute itself.
Forum: Plugins
In reply to: [WooCommerce] Trying to Override WC css – Not WorkingThe best way in my opinion is to disable the WC styles. And then copy all the styles into your theme styles so that only one copy is loaded and it will be update friendly.
Forum: Plugins
In reply to: [WooCommerce] Fatal error, out of memory when using a WooCommerce themeUsually 64m would be OK but it doesn’t hurt to have more…
Forum: Plugins
In reply to: [WooCommerce] Fatal error, out of memory when using a WooCommerce themeI think your title is misleading as your issue has nothing to do with WC not working or Mystile theme not working. Your issue is already clearly stated that you’re running out of memory.
Some hosts have no affect when you declare the memory in the wp_config. You have to do it in the PHP.ini which you need to ask your host to do for you if you don’t have access to that.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce set-up QuestionYes, the setting should be in your woocommerce settings->catalog tab if I remember correctly.
Forum: Plugins
In reply to: [WooCommerce] categories and subcategories on dropdown menuappearance->menus. If you don’t see them, pull down the tab that says “screen options” on the top right corner of your screen and checked them off.
Forum: Plugins
In reply to: [WooCommerce] how to retrieve product details for wp_head?Ok so in your function that you’re adding to the wp_head hook, you can try dumping the variables from the woocommerce global to see what info is in there when it reaches the thankyou page.
global $woocommerce; var_dump( $woocommerce );Based on the info from that global see if anything is of use.
Forum: Plugins
In reply to: [WooCommerce] how to retrieve product details for wp_head?Ok so I am assuming ONLY on the thankyou page is where you want to track the order info? So in your code you’re probably using is_page function to check if it is on thank you page?