Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can an HTML text box be an attribute?


offie

Recommended Posts

Posted

Hi, well as the title says, can an HTML text box be an attribute?

 

What I want to do is add a text box to each product on my site and the attribute will be either:

 

VAT relief is available on this item, or

VAT relief is NOT available on this item.

 

Ideally this would be next to the price.

 

You can see an example here from another site:

 

http://www.mobilitys...t-3-p-9802.html

http://www.mobilitys...es-p-14286.html

 

In product attributes I would then select either relief available or NOT available for each item on my store.

 

If there is a better way of doing this then all options are most welcome.

 

Thank you

Posted

you could always copy the code used for the product status in the admin, (and add a field in the database, of course) which would control if the product is VAT relief or not. then it would be a little if statement on the product info page

 

 

Thanks Craig, I will try that.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...