Themes
Theme porting: renames
Names that change in a theme ported from another platform; theme convert rewrites them automatically.
This page is generated from the source code. biticaret's theme engine is compatible with Online Store 2.0 themes built for another platform; only identifiers carrying that platform's name change. biticaret theme convert rewrites these names automatically and reports each change, while biticaret theme check flags any remaining references.
| Source theme name | biticaret name | Notes |
|---|---|---|
shopify-section-<id>, shopify-section, shopify-section-group-<group> |
biticaret-section-<id>, biticaret-section, biticaret-section-group-<group> |
Sections render with id biticaret-section-<id> and class biticaret-section; section groups render with class biticaret-section-group-<group>. |
shopify-block-<id>, shopify-app-block |
biticaret-block-<id>, biticaret-app-block |
App blocks render with id biticaret-block-<id> and class biticaret-app-block. |
block.shopify_attributes |
block.biticaret_attributes |
Block editor attributes are output via block.biticaret_attributes. |
window.Shopify, Shopify.designMode, Shopify.routes, Shopify.locale |
window.biticaret, biticaret.designMode, biticaret.routes, biticaret.locale |
content_for_header defines the window.biticaret object with the same fields. |
shopify:section:*, shopify:block:* |
biticaret:section:*, biticaret:block:* |
The theme editor dispatches biticaret:section:* and biticaret:block:* DOM events. |
shopify_asset_url |
biticaret_asset_url |
Use the biticaret_asset_url filter. |
.shopifyignore |
.biticaretignore |
Rename the ignore file to .biticaretignore. |
window.privacyBanner.showPreferences() |
window.biticaret.customerPrivacy.showPreferences() |
The cookie preferences modal reopens via biticaret.customerPrivacy.showPreferences(). |
Shopify.customerPrivacy.setTrackingConsent, Shopify.customerPrivacy.analyticsProcessingAllowed, Shopify.customerPrivacy.marketingAllowed, Shopify.customerPrivacy.preferencesProcessingAllowed, Shopify.customerPrivacy.shouldShowBanner, Shopify.customerPrivacy.currentVisitorConsent |
biticaret.customerPrivacy.setTrackingConsent, biticaret.customerPrivacy.analyticsProcessingAllowed, biticaret.customerPrivacy.marketingAllowed, biticaret.customerPrivacy.preferencesProcessingAllowed, biticaret.customerPrivacy.shouldShowBanner, biticaret.customerPrivacy.currentVisitorConsent |
biticaret.customerPrivacy provides the same consent APIs; references to unsupported members are stripped and reported. |
cdn.shopify.com, *.myshopify.com |
— | Hard-coded CDN and store URLs are disallowed; the converter reports them rather than rewriting them. Use asset_url, file_url and routes instead. |