8000 SI: Add Special Properties to Variants · Issue #221 · HotcakesCommerce/hotcakes-commerce-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
SI: Add Special Properties to Variants #221
Closed
@WillStrohl

Description

@WillStrohl

Is your feature request related to a problem?

Hotcakes Commerce is a very flexible e-commerce platform, allowing implementors to fine-tune and customize how it works to fit most online shopping scenarios. Part of the way it does this is through extensibility and special API features.

For example, if you need to store details for third-party integrations and customized order workflows, you're able to store special properties for Products, LineItems, and Orders. This is not currently possible to do for Variants.

Adding this feature will allow implementors and developers to further customize the implementation and user experience when variants are involved.

Describe the solution you'd like

  • Add a TextArea to the Variant edit pop-up (see image below), labeled Custom Properties.
  • Add a new column to the hcc_Variants database table, [CustomProperties] NVARCHAR(MAX).
  • The property name in the DAL and API should be CustomProperties as well.
  • The REST API shall be updated to include this new property.
  • CustomProperties shall NOT be included in the search index.
  • When saving the variant popup, the new TextArea will save the input to the CustomProperties field in DAL using the same pattern(s) as the rest of the existing API.
  • When implementing a new store, both API and viewset developers should be able to easily access this new property in their respective classes and view models.

Additional context

hcc-variant-example

Metadata

Metadata

Assignees

3F30

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0