News:

Support the VirtueMart project and become a member

Main Menu

Child Select Box

Started by backwoodweb, July 30, 2013, 21:41:42 PM

Previous topic - Next topic

backwoodweb

Hey all,

I need to make some major changes to the child product select box to fit a clients particular needs.  Where would I go about locating the code that generates it?

I have found that it is displayed with <?php echo $field->display ?> in the default_addtocart.php page.

Where would I go about finding the select box itself.  It seems to be hiding from me.

Thanks a bunch,

Jimi

Maxim Pishnyak

Css cascade styles could work with 'hidden' web page elements.

Use tool Firebug (sticked thread in this forum section) for the task of customizing web page layout.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

backwoodweb

Quote from: Maxim Pishnyak on July 30, 2013, 21:59:22 PM
Css cascade styles could work with 'hidden' web page elements.

Use tool Firebug (sticked thread in this forum section) for the task of customizing web page layout.


Thanks for the reply.  Unfortunately CSS is not going to be enough.  I need to find the PHP code that generates the select box.

I have to replace the select box with a series of images in <li>'s.  The images references are stored in the database with ID's matching the VM product ID.

Maxim Pishnyak

#3
Did you try Catproduct custom extension for VM?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

backwoodweb

Quote from: Maxim Pishnyak on July 31, 2013, 10:26:54 AM
Did you tried Catproduct custom extension for VM?

Thanks for the tip.  This plugin is perfect, I have modified it as needed and the chap who made it Sandi is a great help!  Highly recommend to anybody!

Thank you for your help.

Jimi