Skip to main content

Build Multi Family Home

For a specific model add data-project-id and data-unit-id attributes to your element. To drill down to the Community, add the data-project-id attribute only.

Example:

<button
class="ownly-build-home"
data-community-id="YOUR_PROJECT_ID"
data-unit-id="YOUR_UNIT_ID">
Build Home
</button>

Also create or update a new community and model by adding more attributes.

NameAttributeTypeRequired
Project IDdata-project-idstringtrue
Project External IDdata-project-external-idstringtrue
Project Namedata-project-namestringtrue
Building IDdata-building-idstringtrue
Building External IDdata-building-external-idstringtrue
Building Namedata-building-namestringtrue
Unit IDdata-unit-idstringtrue
Unit Namedata-unit-namestringtrue
Unit Sizedata-unit-sizenumberfalse
Unit Bedsdata-unit-bedsnumberfalse
Unit Bathsdata-unit-bathsnumberfalse
Unit Pricedata-unit-pricenumberfalse
Unit Floordata-unit-floornumberfalse
Unit Imagedata-unit-imagestringfalse
Floor Namedata-unit-option1-floorstringtrue
Floor Imagedata-unit-option1-floor-imagestringfalse
Group Namedata-unit-option1-groupstringtrue
Floor Option Namedata-unit-option1-namestringtrue
Floor Option Sizedata-unit-option1-sizestringfalse
Floor Option Bedsdata-unit-option1-bedsstringfalse
Floor Option Bathsdata-unit-option1-bathsstringfalse
Floor Option Pricedata-unit-option1-pricestringfalse
Floor Option Imagedata-unit-option1-imagestringfalse

Whenever you add a new model option, increment the index specified in the attribute: data-unit-option1-name, data-unit-option2-name, data-unit-option3-name, [...],

Example:

<button class="ownly-build-home"
data-project-external-id="project1"
data-project-name="Ice District"
data-building-external-id="building1"
data-building-name="Building 1"
data-unit-id="unit1"
data-unit-name="Unit 1"
data-unit-size="930"
data-unit-beds="2"
data-unit-baths="2"
data-unit-price="850000"
data-unit-floor="19"
data-unit-image="/assets/images/unit-101.jpg"
data-unit-option1-floor="Main Floor"
data-unit-option1-group="Kitchen"
data-unit-option1-name="Spice Kitchen"
data-unit-option1-price="1000"
data-package-name="Exclusive"
data-package-price="10000"
data-palette-name="Nordic Clean"
data-palette-price="5000">
Build Home
</button>