How to change Store Street Address from required to optional

Created on 10 May 2023, over 1 year ago

Describe your bug or feature request.

The Country and Street Address are required for Store. I would like to include only Country, Subdivision, and City, but not Street Adress. Is it possible to do this? Thanks in advance.

If a bug, provide steps to reproduce it from a clean install.

💬 Support request
Status

Closed: won't fix

Version

2.35

Component

Store

Created by

🇨🇳China hongqing

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @hongqing
  • Status changed to Fixed over 1 year ago
  • Status changed to Active over 1 year ago
  • 🇨🇳China hongqing

    @jsacksick Thanks for your prompt reply. I know how to add and configure the address module, while the Address Field in Store type is not configurable. I looked at the commerce_store_field_data in the database, the street field is optional, but it is required in the form display. That's why I ask how to change it.

  • Status changed to Closed: won't fix over 1 year ago
  • 🇮🇱Israel jsacksick

    I know it's not configurable, but there are example of codes you can find there... besides, support requests aren't answered from this queue if you paid attention to the guidelines...

    With the abundance of support available in Drupal Answers, the Drupal focused Stack Exchange site, we are no longer answering support requests in the issue queue.

    Support requests opened here will be closed (won't fix), so please search for existing answers or post new questions at:

    https://drupal.stackexchange.com (using the drupal-commerce tag)

Production build 0.71.5 2024