- Clerk.io Help Center
- Using Clerk.io on Magento 1
- Data Management
-
Working with Clerk.io
-
Using Clerk.io on Other / Custom Platforms
-
Using Clerk.io on Shopify
-
Using Clerk.io on Magento 1
-
Using Clerk.io on Magento 2
-
Using Clerk.io on WooCommerce
-
Using Clerk.io on Prestashop
-
Using Clerk.io on BigCommerce
-
Using Clerk.io on Shoporama
-
Using Clerk.io on Shopware 6
-
Using Clerk.io on DanDomain
-
Using Clerk.io on Lightspeed
-
Using Clerk.io on SmartWeb / HostedShop
-
Using Clerk.io on DynamicWeb
-
Using Clerk.io with Any Email Client
-
Using Clerk.io with Copernica
-
Using Clerk.io with Autopilot
-
Using Clerk.io with Active Campaign
-
Using Clerk.io with Marketing Platform
-
Using Clerk.io with MailChimp
-
Using Clerk.io with MailUp
-
Using Clerk.io with Apsis
-
Using Clerk.io with UbiVox
-
Using Clerk.io with CleverReach
-
Using Clerk.io with Google Ads
-
Using Clerk.io with Act-On
-
Audience Integrations with Facebook
-
Using Clerk.io with DotDigital
-
Using Clerk.io with Klaviyo
Customising Product Data on Magento 1
Adding additional product attributes to Clerk.io through the Magento Extension.
In Magento 1, you can add custom product attributes through the Magento backend, or through the Clerk.io extension in code, if needed.
Adding simple attributes
Note: This feature only works from v.4.2.3. Check this guide to see how to upgrade
If the attributes you want to send are already available as simple attributes in your Magento admin, they can easily be added on the Extension page.
1. In your Magento backend, start by going to
Catalog -> Attributes -> Manage Attributes
2. Find the attribute codes of the attributes you want to add:

3. Go to System -> Configuration

4. Under Clerk -> Settings write in your attributes in Additional Fields and click Save Config:

5. After implementing your attributes, go to my.clerk.io->Data and click Start New Data Sync in the upper right corner.

If the attributes you want to send are already available as part of your configurable/grouped products data in your Magento admin, they can easily be synced on the latest version of your plug-in. They will appear as child_attribute, for example, child_color, child_skus etc.
Adding attributes through code
If your attribute uses a standard Magento function, this can be implemented directly in Product.php:
app->code->community->Clerk->Clerk->code->Model->Catalog->Product.php
The function getClerkExportData() builds the product-object, with all the attributes:

You can then add new attributes in the list with this syntax:
$data->setAttributeName($this->insertMagentoLogic());
where setAttributeName defines the name you want it to have in Clerk.io, and insertMagentoLogic(); uses a Magento logic to pull a value from the product.
Using custom attribute functions
Sometimes, a Magento attribute might require a more advanced logic, than a simple function. In this case, locate this file:
app->code->community->Clerk->Clerk->Model->Catalog->Productbase.php
In Productbase.php you can write advanced PHP functions to load custom attributes.

After defining a function, you can include it in Product.php just like the existing functions.
For example:
$data->setAge($this->getAge());
After implementing your attributes, go to my.clerk.io->Data and click Start New Data Sync in the upper right corner.
