concretecms-community-store / community_store

An open, free and community developed eCommerce system for Concrete CMS
https://concretecms-community-store.github.io/community_store/
MIT License
106 stars 66 forks source link

Feature request: Disable edit of invoice at checkout #825

Open vvinci00 opened 8 months ago

vvinci00 commented 8 months ago

In my case, I manage the account details in a dedicated page and it could generate some issue in changing the invoice address at checkout.

At now we have just disabled the edit in code but it's a little bit difficult to manage with update and so. It would be great if there was an option like "allow custom invoice" that allow to edit invoice information or just print it as recap at checkout time.

Mesuva commented 8 months ago

I'm struggling to understand your request here.

Which button are you talking about in terms of editing? (maybe a screenshot would be handy)

vvinci00 commented 8 months ago

Hi,

thanks for quick response.

below the screenshot:

image

all the field about billing details should not be editable.

vvinci00 commented 7 months ago

it's possible to disable the editing of the input in any way?

Mesuva commented 7 months ago

One thing you could try is overriding the checkout single page template, and then add a little javascript to target those fields and disable them. (or maybe even just edit the fields directly and added in the disabled attribute)