DesignerEthan
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Cart & Buy Now] display_add_to_cart $item not an arrayDisclaimer its fairly late and I have only tested this a hand full of times. Might still be issues with it.
So how I did this was I copied the original display_add_to_cart function but named it display_add_to_cart_custom. Then I just made my own array and passed via the custom function.
$pars = array('name' => get_the_title(), 'price' => $price, 'qty_field' => 'true'); display_add_to_cart_custom($pars)Now I can modify the output of the add to cart section without editing the plugin. Will turn this into a custom shortcode too and move this code out of the plugins original code so I can continue to get updates.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Search Result Count by Post typeThanks, not sure how I missed that.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] The clear divI assume clear has a class with the css clear:both on it which is causing your issue?
If that is the case you can simply target that div and write your own css to have it clear:none.
Hope that helps.
Forum: Plugins
In reply to: [Plugin: WooCommerce] Display problemsCan you provide a link to where you having this issue?
Forum: Plugins
In reply to: [WooCommerce] Display all products just in one product category.You should be able to simply go to yoursite.com/product-category/name-of-category.
Forum: Plugins
In reply to: [WooCommerce] I realy don't know how i can set the product images thumbnail.Hi, after unchecking then “hard crop” option you would need to regenerate the thumbnails.
Install this plugin http://wordpress.org/plugins/regenerate-thumbnails/ and active it.
After activating the plugin, go to Tools » Regen Thumbnails. Pressing the regenerate thumbnail button will start generating new image sizes.
Forum: Plugins
In reply to: WooCommerce – Show Image On Product Page Based On Product Title / ID?I would suggest looking into use a custom field. You can read up on custom fields here http://codex.wordpress.org/Custom_Fields or anywhere really. Its very well documented on various blogs.
Forum: Plugins
In reply to: [WooCommerce] Reduce Product Image Size (WooCommerce)You can resize the images in the woocommerce catalog settings. You will then need to download the regen thumbs plugin and regen all your images.
Forum: Plugins
In reply to: [WooCommerce] how to retrieve order details for wp_head?I’m not expert and not having your code in front of me but maybe I can help.
A while back I wrote woocommerce plugin and had to get the cart total. My main issue with the global variable was empty. I ended up having to make sure my functions ran after woocommerce loaded else it could not fill the variable.
add_action( 'wp', 'function_name' ) );At first I tried wp_init but ya that was causing my function to run to soon.
Not sure if you having the same issue but thought I would mention it.
Forum: Plugins
In reply to: [WooCommerce] Edit the pricing section of a product WoocommerceAs in deleted from the database? This makes no sense.
Forum: Plugins
In reply to: [WooCommerce] Edit the pricing section of a product WoocommerceDid you copy the files over or remove them from the plugin and add them to your theme? They need to still be in the plugin and in your theme.
Forum: Plugins
In reply to: [WooCommerce] Procuct Page is emptyOnly issue is when you update woocommerce that change will be over written.
You should look into more friendly methods of getting this to work. Not updating a plugin over time is not good for security on the other hand updating overrides your change.
If I knew what theme you using or could get a link to where you having the issue maybe I can suggest a better solution.
Forum: Plugins
In reply to: [WooCommerce] Edit the pricing section of a product WoocommerceRead up on how to override woocommerce template files via your theme here. http://docs.woothemes.com/document/template-structure/
The reason for doing this is if you simply edit the price.php when woocommerce updates your changes will be lost. That is why you have price.php in your theme to allow the plugin to update but still keep your edits safe in your own price.php.
Forum: Plugins
In reply to: [WooCommerce] No featured images on products, help!Interesting, not sure what could be the issue here. Kind of a long shot but oh well. Why not try copying the example on this page. http://codex.wordpress.org/Function_Reference/remove_theme_support
Just edit it to allow posts and products etc. The thing that stands out for me on this is “Use the after_setup_theme hook with a priority of 11 to load after the parent theme, which will fire on the default priority of 10”. So if I understand correctly if the theme is causing issues perhaps setting the priority to add support after the theme does its own thing might work.
Not really sure though. Good luck.
Forum: Plugins
In reply to: [WooCommerce] Edit the pricing section of a product WoocommerceNot sure what you mean by “the template won’t save it”. The best way to do this is to edit the theme. Go to your woocommerce plugin and copy the price.php (there is one in loop and single-product file) and add them to your theme. Once both price files are copied you can simply edit them.
If for some really strange reason that does not work you could try filter the price.
add_filter('woocommerce_price_html', 'my_price_edit'); function my_price_edit() { $product = new WC_Product( get_the_ID() ); $price = $product->price; echo "$" . $price . "*"; }Place that code in your functions.php and it should edit the price. Like I said the best way to do this is to actually edit the price files tho.