shez1983
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] WC()->cart->add_to_cart() isnt adding multiple productshmm. thanks that doesnt work.. From googling, I have found that you can only add one product to the cart at a time..
the thing is that function should work if i loop over the product Ids, i even verify it by printing out the value it returns (true or false).. but when it comes to displaying, it only displays one
- This reply was modified 9 years, 3 months ago by shez1983.
Forum: Plugins
In reply to: [WooCommerce] Add Multiple Products in single click.Hi
I am having this similar problem..
I try to loop through the products & use WC()->cart->add_to_cart( $product_id, $quantity )
but when i var_dump(WC()->cart->get_cart()); I only get one product, and this product is always the one that is at the end of the products array…
Forum: Fixing WordPress
In reply to: widgets on home pageSorry if it was confusing.
I am using a widget which gets the latest post from a category. (in fact it is replicated 9 times to get latest post from each category). I need to put this onto the home page so it looks something like:
http://glamourexclusive.com/wp-content/uploads/GE_layout.png
http://glamourexclusive.com/ is how it is looking currently, and I would appreciate someone giving me hints on how to fix it so i get those thumbnails.