News:

Support the VirtueMart project and become a member

Main Menu

Prevent custom shopper fields from showing on Billing details ?

Started by dmb, September 22, 2015, 14:02:05 PM

Previous topic - Next topic

dmb

VM 3.0.9

I have some custom shopper fields (e.g. "Send me marketing ?" checkbox) that I want people to fill in at registration or account maintenance but not to display on orders/billing details/etc.

I've set them to Required=No, Published=Yes, Show in cart form=No, Show in shipment form=No but they still appear in the cart and on the order information.

Any easy way (configuration rather than code) to stop these displaying, or is this a bug ?

Thanks,

David

Milbo

It is not a bug, it is a missing configuration option. We just need another column "show on invoice".

So long you must do an override and use something like

if ($field['name']=='myfield') continue;
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

dmb

Hmm, I must respectfully disagree :)

When the option "Show in cart form" is set to No, I would expect the field not to be shown in the cart form :) This column on the custom shopper fields page does not appear to do anything right now.

I wouldn't want it on the invoice either, but that's a different issue.

Thanks anyway,

David

Milbo

in other cases it is vice versa. If you write a patch, I take it, not hard to write. I think it is the only solution to solve it for any body
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/