Top "Product" questions

A product is a good that can be bought or sold.

Get the product variations attributes values term ID and name

In WooCommerce, I'm using $product->get_variation_attributes() to get the variations attributes for a product. This function returns …

php wordpress woocommerce product variations
How to check if attribute exist in product attribute set? Magento

How to check if attribute exist in product attribute set? I need to know if a product has an attribute …

magento attributes product catalog
WooCommerce get products by attribute query

I have a product with attribute colors. Attribute values are red, blue and green. I am trying to create a …

php wordpress woocommerce attributes product
Get product custom field values as variables in WooCommerce

I am using Woocommerce for registration for classes; each class/product has up to 20 custom fields, which I need to …

php wordpress woocommerce product custom-fields
Get WooCommerce featured products in a WP_Query

I updated WooCommerce to version 3.0 but I can't show the featured products on my theme, I googled a while and …

php wordpress woocommerce product featured
Set product sale price programmatically in WooCommerce 3

I have a Woocommerce store set up with various product categories. I want to apply a 20% discount to all products, …

php wordpress woocommerce product price
Magento: Get product price from another store?

I have multi-store Magento installation, and different product prices are set in different stores. I want to display on one …

magento product
Get Simple Product from Configurable in Cart

I'm trying to load the simple products that have been added to a customer's cart, but when I retrieve the …

magento product
add product to cart with custom options

I have to create a (virtual, simple )product and then add to cart both programmatically, i have done this so …

magento product cart
Magento - get a list of bundled product ids from a product id

Lets say I load my product object: $product = Mage::getModel('catalog/product')->load($productId); Is there a function …

magento bundle product