Skip to content

Commit

Permalink
Attribute and Attribute Families added
Browse files Browse the repository at this point in the history
  • Loading branch information
RishabhYogi-Webkul committed Jan 29, 2024
1 parent 5dd239f commit 613994d
Show file tree
Hide file tree
Showing 16 changed files with 109 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/.vuepress/version-configs/2.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,16 @@ module.exports = [
['category/overview', 'Category Overview'],
['category/create-category', 'Create Category'],
])
},
{
title: 'Attributes',
path: setVersionPrefix('attribute'),
collapsable: true,
children: setVersionPrefix([
['attribute/overview', 'Attribute Overview'],
['attribute/product-attribute', 'Create Product Attribute'],
['attribute/attribute-family', 'Attribute Family'],
['attribute/attribute-input', 'Attribute Input Type'],
])
}
]
8 changes: 8 additions & 0 deletions docs/2.x/attribute/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Introduction

An *Attribute* is a specification or characteristic of a product, for example, Color, Size, and Pattern are attributes of a T-Shirt. You can also create many attributes for a single product. Product attributes play a major role in the buying decision of the customer.
Attributes determine the type of input control that is used for product options, and provide additional information for product pages.They are also used as search parameters and criteria for layered navigation, product comparison reports, and promotions. You can create as many **attributes** and **attribute families** as necessary to describe the products in your catalog in Bagisto.

Attributes can have different input types that determine not only how you enter the values for the attribute, but also how shoppers can select attributes in the case of options, or enter values.

Product Attributes are a set of characteristics that define a particular product or a group of goods. This means size, color, flavor, package type, etc. constitute attributes. Product attributes are not just about the general description of a product, but it speaks the value of products that makes it unique.
23 changes: 23 additions & 0 deletions docs/2.x/attribute/attribute-family.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Create Attribute Family

By using Attribute Families, you can import all the required information about the product in a single step. It can be specified as a list of attributes that are related to a unique product. Here we have listed out the tutorial on product attribute families in Bagisto.

### Create Attribute Family in Bagisto 2.0

**Step 1**:- On the Admin Dashboard, click **Catalog** >> **Attribute Families** >> **Create Attribute Family**

![Attribute Family](../../assets/2.x/images/attribute/createFamily.png)

**Step 1**:- Enter the **Attribute Family Code** and **Name** as shown in the below image.

![Save Family](../../assets/2.x/images/attribute/saveFamily.png)

So now after creating a family Save Attribute Family and a New Attribute Family have been created as shown in the below image.

![Family Grid](../../assets/2.x/images/attribute/familyGrid.png)

Now that the new attribute family has been created, you can edit it through the **Action**. Add the desired **Attributes** to this family based on your specific requirements. Afterward, to verify the output during the product creation process, you will be able to see the new Attribute family. Now all Attribute will be visible on the product page that belongs to these Attribute Families.

![Output](../../assets/2.x/images/attribute/output.png)

By following the above steps, you can easily create an Attribute Families in Bagisto2.0.
19 changes: 19 additions & 0 deletions docs/2.x/attribute/attribute-input.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Attribute Input Type

Attributes can have different input types that determine not only how you enter the values for the attribute, but also how shoppers can select attributes in the case of options, or enter values.

Product Attributes are a set of characteristics that define a particular product or a group of goods. This means size, color, flavor, package type, etc. constitute attributes. Product attributes are not just about the general description of a product, but it speaks the value of products that makes it unique.

| Property | Description |
|-----------------|------------------------------------------------------------------------------------------------------------------------------------|
| Text | A single-line input field for text. |
| Text Area | A multiple-line input field for entering paragraphs of text, such as a product description. |
| Price | This input type is used to create price fields that are in addition to the predefined attributes: Price, Special Price, Tier Price, and Cost. |
| Boolean | Displays a drop-down list with pre-defined options of Yes and No. |
| Select | Displays a option to select value. |
| Multi Select | Displays a drop-down list of values that accepts multiple selections. |
| Date | Displays a date value in the preferred format.
| Date Time | Displays a date and time value in the preferred format and time zone.
| Image | This is used to show image.The image attribute can be excluded from the storefront media browser.
| File | File attributes are a type of meta-data that describe and may modify how files and/or directories in a filesystem behave.
| Checkbox | It represents a state or option that can be toggled.
8 changes: 8 additions & 0 deletions docs/2.x/attribute/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Attribute Overview

An *Attribute* is a specification or characteristic of a product, for example, Color, Size, and Pattern are attributes of a T-Shirt. You can also create many attributes for a single product. Product attributes play a major role in the buying decision of the customer.
Attributes determine the type of input control that is used for product options, and provide additional information for product pages.They are also used as search parameters and criteria for layered navigation, product comparison reports, and promotions. You can create as many **attributes** and **attribute families** as necessary to describe the products in your catalog in Bagisto.

Attributes can have different input types that determine not only how you enter the values for the attribute, but also how shoppers can select attributes in the case of options, or enter values.

Product Attributes are a set of characteristics that define a particular product or a group of goods. This means size, color, flavor, package type, etc. constitute attributes. Product attributes are not just about the general description of a product, but it speaks the value of products that makes it unique.
38 changes: 38 additions & 0 deletions docs/2.x/attribute/product-attribute.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Create Product Attribute

An Attribute is a specification or characteristic of a product for example Color, Size, and Pattern an attribute of a T-Shirt. You can as create many attributes for a single product. Product Attribute plays a major factor in the buying decision of the Customer.

### How to Create a Product Attribute in Bagisto2.0

To Create Bagisto Attributes, open the Admin Panel and then follow the below step


### Add Attributes

Click on **Catalog** >> **Attributes** >> **Create Attributes** as shown in the below image.

![Attribute](../../assets/2.x/images/attribute/createAttribute.png)

### Attribute Types

Enter **Label**, **Attribute code**, and select **Attribute Type**.

**Attribute Code**:- Enter the Attribute Code to identify the Attribute

**Attribute Type**:- There are various attribute types available in Bagisto such as Text, Textarea, Price, Boolean, Select, Multi-select, DateTime, and Date.

![Attribute Types](../../assets/2.x/images/attribute/attributeTypes.png)

Now add validation & configuration as shown in below image as per your requirement.

![Validation](../../assets/2.x/images/attribute/validation.png)

So **Save the Attribute** and then go the the **Attribute Family** from **Catalog >> Attribute Families** and assign it from the unassigned attribute by drag and drop at your desired place as shown in the below image.

![Attribute Family](../../assets/2.x/images/attribute/attributeFamily.png)

Now, **Save the Attribute Family** and check the output while creating products on the product edit page as shown in the below image.

![Edit Page](../../assets/2.x/images/attribute/editPage.png)

By following the above steps, you can easily create a Product Attribute in Bagisto 2.0.
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ features:
details: Learn how to create Products for Bagisto.
- title: Category
details: Learn how to create Category for Bagisto.
- title: Attribute
details: Learn how to create Attribute for Bagisto.
footer: Copyright © 2024 Bagisto
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/2.x/images/attribute/createFamily.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/2.x/images/attribute/editPage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/2.x/images/attribute/familyGrid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/2.x/images/attribute/output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/2.x/images/attribute/saveFamily.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/2.x/images/attribute/validation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 613994d

Please sign in to comment.