In Magento categories it is possible to set "sort order" values on products (in Admin, Categories), to display certain products beforen others (products with lower value displays first). However; when the value is identical on all items Magento will by default display the oldest items first (low product ID).
Is it possible to change this so that newest items display first instead?
PS: I'm not talking about changing the category sorting to "sort by creation date" or similar. But as an example; let's say you have "sort by price" and 10 products with same price; I would then like the newest items to display first – and not the oldest first (which is default when sort order value is identical on all items).
Previously in my Magento store, I had set the Qty for Item's Status to Become Out of Stock in the inventory to 5 under system->configuration->catalog->inventory so that if the quantity of the products reaches to 5 or below it should show as out of stock and it was working properly. Now I want the quantity to be displayed according to the exact number and hence I changed the value of Qty for Item's Status to Become Out of Stock from 5 to 0. But even after changing the products are still showing out of stock when the count reaches 5. I have reindexed all the data and I have even cleared the cache after changing the value. Kindly let me know what should I do to enable the products to show in stock even if the count reaches 5 or below.
I have a problem whereby I have set up configurable products, lets say t shirts in small, medium & large, with different prices for each size.
On my t shirt category page the price shown against each product is for the cheapest size (single).
If the user filters to show double, the price shown will still be for the single. How can I show prices for the double? (I do need to have products set up in this configuration, otherwise I would use simple products in each size)
Thanks!
You can use Custom Options which is a standard feature for Magento.
When editing the product (simple r configurable) goto the custom options tab near the bottom.
then add a new custom option and choose dropdown.
All you need to do then is mark it as a required field and input the various sizes and the increase in cost for each.
I need to sell business cards in Magento. If the customer wants to use metallic ink (gold or silver) then I need to add $60 to the order, regardless of the quantity. I currently have Metallic Ink as a custom option, but Magento applies the $60 to each item. So if they order 100 business cards (which costs $25) there's an extra $1,500 added, making the total cost $1,525. The cost should be $85. How can I do this?
I've found Magento extensions that can do this, but one is $135 and one is $165. That seems a bit ridiculous to accomplish something that should be so simple for an online store.
Why don't you create an option for 100 cards, 250 cards, 500 cards etc and not allow the user to input the product qty but select it just like the ink option. This would stop people from ordering random number of cards like 37! Your problem is that magento takes the inputted qty and multiplies it by price (including options). If you remove the qty field (i.e so it always 1 when they click add to basket) and make the qty an option it allows for control over order volumes, discounts and surcharges like you are trying to achieve for free. Otherwise the quoted module prices seem very reasonable...
I would;
Create custom option for qty of cards with fixed prices for each
band.
Custom option for ink type with fixed price.
Remove or hide the
qty field on product page and cart.
image #1: https://picasaweb.google.com/lh/photo/gDCgo_SHMbnAOmHCh0LQCtMTjNZETYmyPJy0liipFm0?feat=directlink
When examining a Magento configurable test product (ski goggles with a color option), I see that the colors of the dropdown list (see image #1) are ordered like this: White, Blue, Red, Silver. However, when I examine the product in the admin view and select the "Associated Products" tab, there seems to be no correlation between the frontend list organization and the product ID numbers, price, or anything else for that matter.
To demonstrate, if I connect the product ID numbers to the above list, I get: White (170), Blue (169), Red (168), Silver (175) - see image #2 below.
image #2: https://picasaweb.google.com/lh/photo/ES0i3_wZsdiU35w4_MGLrdMTjNZETYmyPJy0liipFm0?feat=directlink
At the time I initially created the configurable product, I had added three color options (168, 169, 170) and they appeared to be displaying in descending order by ID in the dropdown on the frontend. But I just now added another individual product (the color Silver), with an ID of 175, and it doesn't follow this trend.
Question: What logic does Magento use to order these lists, and what file is this function located in? I'm looking for a way to arrange the config. product dropdown list(s) in ASCENDING order, regardless of price or any other factor, ex. from 168-175.
Thanks.
B
Someone with more experience or knowledge may override me on this, but I believe the order the attribute values appear in the drop down list is based on the order they are given on the attribute label definitions when you create the attribute.
Sort order of the attributes is determined in the attribute. The furthest column on the right is called Sort Order.
Otherwise it should sort alphabetically.
I think what you are looking for is to sort dropdown values (i.e. small, medium, large, extra-large) by some value, and not by its label. If this were done, sorting would make more sense. We would be able so sort by increasing or decreasing size, rather than alphabetical (which does not make sense).
In order for this to happen, we would need magento to support enumerations or oordinal values (https://magento.stackexchange.com/questions/20985/get-option-value-by-id-or-attribute-in-magento, Magento - Sort by Position and Name?). There are NUMEROUS requests for this, which are being ignored.
Please be aware, dropdown values can already be re-ordered. In the admin pages, you can simply drag a dropdown value in M2 in order to change its position (M 1.9 calls this "Sort Orer"). However, the question then becomes how to use the position or sort order [s=1 m=2 l=3 xl=4] of the attribute-value for sorting, rather than its label.