Sort attribute on new/edit product page woocommerce - sorting

I have a companies as a product attributes which are a lot. When I create new product, I would like to have sorted alphabeticaly list of those attributes. I see that list is generate by woocommerce action woocommerce_json_search_taxonomy_terms . I tried find way to overwrite woocommerce action. I can't figure out how to do that
I will be grateful for your help
attributes on add new product page

Related

creating cutom products on the fly

I'm builing a product configurator with highly complex “one-of-a-kind” products
Unfortunately it is not possible for us to use shopify's product variants as we have a huge array of options, quantity discounts etc.
Is there a great way in creating cutom products on the fly?
What we are looking for:
Create a product on the fly if the user click on the add-to-cart button.
Add the custom product to the cart.
Don't list the dynamically created products in the admin
So is this possible? Or is there another way
https://jsfiddle.net/ow0g6Lvs/
Thanks.
Regards,
Alex

How to display Category list at search result page in magento..?

I want to display categories instead of product result. if anyone search product name, then result should be category which contains that product.
Is it possible in magento?
Thanks
Magento does not have this feature.
Magento search depends on product and it Eav Attributes.
If you want then you need create custom extension and custom module

Is it possible to filter related products based on some of it's attributes on the product view page?

I am new to magento and looking for a solution. Is it possible to filter related products based on some of it's attributes on the product view page? I have a product and there are 100s of related products associated with it. I want customers to filter these related products based on their attributes on the product view page itself. Is it possible? Please help me.
Regards, Pallab
The template (Magento 1.9.1.0 version) for this is located in: frontend/your_package/your_theme/template/catalog/product/list/related.phtml template and the Block class associated with this template is: Mage/Catalog/Block/Product/List/Related.php and the method is: protected function _prepareData() where the related products collection is being fetched. You will have to setup your filters as you need, most likely by using JavaScript and finding the products that match the selected (filtered) attributes by the customer.
For more thorough answer, I will need more information about how these filters should look like and work.

Magento List Products based by attribute in CMS page, how to?

how can I list only porducts with some attribute on CMS page?
For example I want to list only all the products across the categories with attribute color=red
How can I achive this?
So far I was able to achive listing products with Special prices based on this
http://phpmysqltalk.com/937-magento-how-to-create-a-special-price-page-with-new-products-first.html
HoweverI am unable to modify it to any other attribute. Any help, how can I achieve displaying only products which have specific value of some attribute /from the Root category for the store or also from specific categories/
Thanks a lot.
check out this tutorial for creating a simple custom module which should do exactly what you need:
https://www.atwix.com/magento/products-list-cms/

magento adjust product visible

I have 2 new custom productattributes that enables or disables a product in the category list and product-detail page.Both are dates.
need to calculate if the current date is between the 2 custom dates.
if it is, the product must be enabled.
I can't find a place in the code to enable/disable a product in the category list and detail page. I don't want to fix this in a phtml.
Can somebody help me?
You have to modify two things :
the product collection in order to add the filtering on your two news attributes.. For that, for example, you can implement the event catalog_block_product_list_collection from Mage_Catalog_Block_Product_List (used in product listing and search) where you'll add your filtering with the function $collection->addAttributeToFilter('attribute_code', $condition)
the product page itself. You can add your logic in order to display or not your product by multiple ways.. I would choose to implement the event catalog_product_is_salable_after in order to add your logic here and call $product->isSalable() in the template or controller...

Resources