简体   繁体   中英

Magento Product Availability -> Cannot find code on configurable products

So I am trying to throw in a little catchy code to the Product Availability section on our Magento product pages to add the the "Availability: In Stock" portion.

If the item is backordered I want to add some additional code. The code is not my problem, I can't find where to put it.

With simple products I simply edit:

template/catalog/product/view/type/simple.phtml

Now one with common sense would presume that a configurable product with children products could be found in

template/catalog/product/view/type/configurable.phtml

But of course with Magento, this would make too much sense. Essentially could someone show me how to edit the availability/price area of the page for a configurable product with children?

Many thanks!

May I recommend that you enable template path hints? Admin > System > Configuration > Developer (all the way at the bottom) > Debug. You'll need to switch out of the default configuration scope to see the template path hints options. Once this is enabled, flush the cache and you should see the files being used when you refresh the catalog product view page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM