Author Topic: Consequences of adding a custom field in Admin panel  (Read 996 times)

sshake

  • Beginner
  • *
  • Posts: 4
Consequences of adding a custom field in Admin panel
« on: September 16, 2013, 00:11:20 am »
Hi everyone, first post in forum.
Following this simple tutorial:
http://danielegagliardi.vivitrentino.eu/joomla/70-virtuemart-aggiungere-campo.html
i manager to add a custom field in the product info tab by adding:
1) a new field in table product;
2) new input field in product editing template /administrator/com_virtuemart/views/product/tmpl/product_edit_information.php;
3) new input field in front-end product template
components/com_virtuemart/views/virtuemart/tmpl/default_products.php;

It's a minor change and it seeems to work fine.
Now mt question: what will happen to my changes at the next Virtuemart update?
1)will my changes be' overwritten by the update?
2) will my changes cause trouble to the update script itself?
3) nothing will happen since the are minor changes

many thanks in advance, Fabio.

Maxim Pishnyak

  • Virtuemart 2 is quite bugfree now
  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
  • Virtuemart 2 is quite bugfree now
    • Virtuemart Ukraine division
Re: Consequences of adding a custom field in Admin panel
« Reply #1 on: September 16, 2013, 04:39:22 am »
Custom field Year and custom changes in template overrides for using this field WILL resist update.
Virtuemart 2 is quite bugfree now. You can support Community by voting for Project on the JED
http://extensions.joomla.org/extensions/e-commerce/shopping-cart/129/review
Join us in
https://www.facebook.com/virtuemart
https://twitter.com/virtuemart