Docsity

Shopify Theme Development Quiz: Test Your Knowledge, Study Guides, Projects, Research of Economics

Toggle sidebar
bg1
1 / 21
Shopify Theme Development Certification Exam
1.Which of the following Liquid objects do not have an associated handle
Product
Link Blog
Menu
https://help.shopify.com/en/themes/liquid/objects: Menu is not a default liquid object
2.Which of the following is required for an alternative layout file?
{{ content_for_footer }}
{{ content_for_layout }}
{% layout 'alternative' %}
{% alternative_ layout %}
{{ get_content }}
https://www.shopify.com/partners/blog/84342470-the-power-of-alternate-lay- out-files-in-shopify-
theme-development: {% layout 'alternative' %}
3.If you wanted to display offsite gateway buttons on your checkout page, you would need to
remove, or comment out, the additional_checkout_buttons Liquid tag from the cart page.
True
False
https://help.shopify.com/en/themes/customization/cart/add-more-check- out-buttons-to-cart-page:
True, since these buttons show up in both cart and checkout, you would need to disable
this tag in the cart page in order to have it show in checkout
4.Multiple filters can be applied to a single output. Filters are applied in order from:
Left to right
Right to left
You can use parentheses to dictate the order
https://help.shopify.com/en/themes/liquid/filters: Left to right
5.What's the maximum size a theme zip file can be?
20 MB
50 MB
100 MB
There is no limit: 50 MB
6.If you are running Yarn, which Slate command will generate a new Slate project?
yarn create slate-theme my-new-theme yarn slate
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15

Partial preview of the text

Download Shopify Theme Development Quiz: Test Your Knowledge and more Study Guides, Projects, Research Economics in PDF only on Docsity!

1 / 21

Shopify Theme Development Certification Exam

1.Which of the following Liquid objects do not have an associated handle

Product Link Blog Menu https://help.shopify.com/en/themes/liquid/objects: Menu is not a default liquid object

2.Which of the following is required for an alternative layout file?

{{ content_for_footer }} {{ content_for_layout }} {% layout 'alternative' %} {% alternative_ layout %} {{ get_content }} https://www.shopify.com/partners/blog/84342470-the-power-of-alternate-lay- out-files-in-shopify- theme-development: {% layout 'alternative' %}

3.If you wanted to display offsite gateway buttons on your checkout page, you would need to

remove, or comment out, the additional_checkout_buttons Liquid tag from the cart page. True False https://help.shopify.com/en/themes/customization/cart/add-more-check- out-buttons-to-cart-page: True, since these buttons show up in both cart and checkout, you would need to disable this tag in the cart page in order to have it show in checkout

4.Multiple filters can be applied to a single output. Filters are applied in order from:

Left to right Right to left You can use parentheses to dictate the order https://help.shopify.com/en/themes/liquid/filters: Left to right

5.What's the maximum size a theme zip file can be?

20 MB

50 MB

100 MB

There is no limit: 50 MB

6.If you are running Yarn, which Slate command will generate a new Slate project?

yarn create slate-theme my-new-theme yarn slate

2 / 21 create-theme my-new-theme yarn slate build-theme my- new-theme yarn create slate-build my-new-theme https://www.shopify.com/partners/blog/shopify-slate-new-release: yarn create slate-build my-new- theme

7.To submit a theme to the Shopify Theme Store, you must be approved as a Shopify Design Expert.

True False: True

8.If a custom SEO description isn't provided for a product, then the product description will be

used as the meta description instead. True False https://help.shopify.com/en/themes/development/getting-started/search-en- gine-optimization: True

9.When creating a link for a label in the settings_schema.json file, which format is correct?

(link URL)[link text] (link text)[link URL] [link text] (link URL) [link URL](link text) https://help.shopify.com/en/themes/development/theme-editor/set- tings-schema: [link text](link URL)

10.What would you add to the of your theme to prevent duplicate content issues with

search engines?

https://www.shopify.com/partners/blog/canonical-urls https://help.shopify.com/en/themes/development/getting-started/search-en- gine-optimization:

11.Which of the following attributes is required to render a block?

Type ID Title Settings Default https://help.shopify.com/en/themes/development/sections#blocks: Type

4 / 21 to recrawl your URLs Submitting your sitemap to Google Setting up canonical URLs for preferred pages https://www.shopify.com/partners/blog/canonical-urls: Setting up canonical URLs for preferred pages

17.When designing with a mobile-first approach, which of the following should be

considered? Performance Avoiding content loss Leveraging touch screen gestures All of the above https://partner-training.shopify.com/outline/qfim6zmj/activities/ryXdnnpYG: - All of the above

18.You want to manipulate output data of a Liquid object. To achieve this effect, you must use

a Liquid filter. True False: True

19.Which of the following are theme section tags?

{% schema %} {% javascript %} {% stylesheet %} {% schema %} {% js %} {% css %} {% schema %} {% js %} {% scss %} {% schema %} {% javascript %} {% style %} https://help.shopify.com/en/themes/development/sections: {% schema %} {% javascript %} {% stylesheet %}

20.Which Liquid object listed below can you use to access product informa- tion?

products_info display_products products_json all_products https://help.shopify.com/en/themes/liquid/objects#global-objects https://www.shopify.com/partners/blog/89205510-how-to-use-all_prod- ucts-in-a-shopify- theme: all_products

5 / 21

21.How many levels deep can you nest Shopify nested menu items?

Unlimited https://help.shopify.com/en/themes/development/building-nested-navigation- : 3 levels deep

22.What is the benefit of setting up responsive images on a Shopify theme?

It allows developers to make deliberate decisions to use correctly sized im- ages in their theme It improves user experience by loading small images before full-sized images Images can be automatically cropped to fit small screens All of the above https://www.shopify.com/partners/blog/using-responsive-images: All of the above

23.Liquid is rendered:

Client side Server side https://www.shopify.com/partners/blog/115244038-an-overview-of-liq- uid-shopifys- templating-language: Server side

24.Liquid objects cannot be added to the 'Additional scripts' box on the Shopify Admin at

'Settings > Checkout' True False https://help.shopify.com/en/manual/orders/status-tracking/customize-sta- tus-tracking#add- additional-scripts https://help.shopify.com/en/manual/orders/status-tracking/customize-or-

7 / 21 Editing hard-coded text in a theme Categorizing active checkout and system messages Retrieving content from the theme's language files https://help.shopify.com/en/themes/development/theme-store-require- ments/internationalizing/translation-filter: Translating strings into other languages

29.Theme Kit powers Slate deploys, so the configuration requirements are the same.

True False: False ?

30.In a Liquid template file, the paginate.pages object is generally used to:

Create an if statement which loads pagination Display how many pages of pagination can be accessed Return an array of previously viewed pages Generate the pagination tags for a page https://help.shopify.com/en/themes/liquid/objects/paginate#paginate-pages: - Display how many pages of pagination can be accessed ?

31.Customers can add line item properties to their order on the cart page, which are used to

record additional information about an entire order. True False https://help.shopify.com/en/themes/customization/products/features/get-cus- tomization-information- for-products: True

32.Liquid tags are wrapped in which of the following characters?

8 / 21

https://help.shopify.com/en/themes/liquid/tags: {% %}

33.Which of the following is not a purpose of Liquid filters?

They manipulate output data in some way They are programming logic that tells templates what to do They allow themes to be agnostic; the same theme can be applied to multiple stores They save developers' time by reducing the amount of code needed: They allow themes to be agnostic; the same theme can be applied to multiple stores

34.Where would the control flow tag {% if item.object_type == 'product' %} be particularly useful?

search.liquid product-template.liquid theme.liquid collection-list.liquid https://help.shopify.com/en/themes/liquid/objects/search: search.liquid

35.Which template cannot be mapped to a URL?

404.liquid search.liquid password.liquid index.liquid https://www.shopify.com/partners/blog/91564358-how-urls-map-to-shopi- fy-templates: password.liquid ?

36.Where can you find an API key for connecting Theme Kit to a live store?

In the 'Themes' section of your partner dashboard

10 / 21

40.What would the output of this Liquid be?

{% assign collection_titles = collections | map: 'title' %} {{ collection_titles }}

Spring,Summer,Fall,Winter SpringSummerFallWinter Spring Summer Fall Winter: SpringSummerFallWinter

41.Development stores offer the same functionality as the Advanced Shopify Plan. Until it's

switched to a paid plan, which of the following is not a limitation of a development store? You cannot create more than 10 private apps You cannot create more than 5000 products You cannot process more than 50 orders (although you can create unlimited test orders) You cannot install paid apps (except for a selection of partner-friendly apps)- : You cannot create more than 5000 products ?

42.You have integrated a JavaScript framework (e.g., React, Vue.js, Angular) into your theme to build

complex, dynamic product listings. In order to display the listings, product information needs to be accessible to your framework. What is the best way to make your products accessible? Build a private app and use a ScriptTag resource to import products into your theme Build a new Liquid template to return products as JSON Make a GET request from your framework to Shopify's API: Make a GET request from your framework to Shopify's API ?

43.Identify the object in the following: {{ 'sections.slideshow.previous_slide'

sections slideshow previous_slide Everything within the curly brackets: sections ?

11 / 21

44.What would the output of the following Liquid code be?

{% assign var = 10 %} {{ var }} {% increment var %} {% increment var %} {% increment var %} 10 10 11 12 13 10 0 1 2: 10 ?

45.With regard to accessibility, WCAG 2.0 best practices suggest a minimum ratio of 4.5:1 for 16px

body text on a background color. Which of the following is a benefit of ensuring appropriate contrast ratios in a theme? Content works in different lighting conditions, such as sunlight and glare People with a color-vision deficiency can more easily read content Improved usability for all types of visitors All of the above: All of the above

46.Variant inventory quantity can be returned in a product's storefront JSON endpoint.

True False: True

47.If a collection image does not exist on a collection page:

A backup store logo or placeholder should load instead The featured image of the first product in that collection should load instead Only product images load An error message appears: A backup store logo or placeholder should load instead

48.Which of the following is not found in the Shopify Liquid Cheat Sheet?

Tags Objects Filters Sections: Sections

49.You have written a custom JavaScript function in your theme. Upon in- stalling a new app,

your function breaks due to a conflict with the app's JavaScript. What is the most likely cause of the issue? The app's JavaScript has a bug

13 / 21 {{ '#ffc107' | lighten_color: 30 }} {{ '#ffc107' | color: 'lighten', 30 }} {{ '#ffc107' | lighten_to: 30 }} {{ '#ffc107' | color_lighten: 30 }} https://help.shopify.com/en/themes/liquid/filters/color-filters#color_lighten: - {{ '#ffc107' | color_lighten: 30 }}

56.Which of the following is the correct way of multiplying two variables in Liquid?

{{ foo * bar }} {{ foo | multiplied_by: bar }} {{ foo | times: bar }} {{ foo | * bar }} https://help.shopify.com/en/themes/liquid/filters/math-filters: {{ foo | times: bar }}

57.Slate requires you to set up the theme file structure from scratch.

True False: False

58.As a theme author, including/updating the theme_info object in your work is important because:

It's easier to identify which agency made the theme It's great advertising space for your agency It allows your agency to see which merchants use your theme All of the above https://help.shopify.com/en/themes/development/theme-edi- tor/add-theme-info: All of above

59.Which of the following describes the purpose of this for loop:

{% for product in collections['Frontpage'].products %} {{ product.selected_or_first_available_variant.id }} {% unless forloop.last %},{% endunless %} {% endfor %} Outputs the number of products in a collection named "Frontpage" Outputs all the product IDs in a collection named "Frontpage"

14 / 21 Outputs all the product handles in a collection named "Frontpage": Outputs all the product IDs in a collection named "Frontpage"

60.If you want to submit a theme to the theme store, which of the following is not a requirement?

The layout must be responsive Assets link must use protocol-independent URLs The theme must include social buttons for Twitter, Facebook, Pinterest, and Instagram The theme must support variant images https://help.shopify.com/en/themes/development/theme-store-require- ments/theme-file- requirements: The theme must include social buttons for Twitter, Facebook, Pinterest, and Instagram

61.Which of the following is not required in your theme.liquid file in order for your theme to be

accepted as a submission to the theme store? A search box or link to the search page in the header or footer Logos for methods of payment Main navigation focus states Custom color settings for social icons: Custom color settings for social icons

62.If you wanted to display a variant image on the cart page, rather than a product's default

image, which of the following filters would you use? product_img_url img_url file_img_url variant_img_url: img_url https://shopify.dev/api/liquid/filters/url-filters#img_url

63.How can different types of blocks be added to a static section?

By using control flow tags within the section By adding snippets to the section By using iteration tags within the section By adding presets to the section: By using control flow tags within the section

64.An EmptyDrop object is returned if you try to:

Access a deleted object by its handle Load a section which has been removed from the homepage Access variables created in a separate section Load a page which is set to hidden

16 / 21 metafields

71.What is the maximum number of blocks that could be added by a merchant to a section?

There is no limit https://help.shopify.com/en/themes/development/sections: There is no limit

72.What are some good ways to future-proof, or reduce support requests for design changes to

themes? Use schema settings to offer merchants control over the changes Hard code all changes into the theme files with specific style values and grid sizes Hard code things like color values, but offer settings for element widths Create a range of alternative template files with specific style values: Use schema settings to offer merchants control over the changes

73.A cart permalink takes customers directly to the cart page of their store with items pre-loaded

into the cart. True False https://help.shopify.com/en/themes/customization/cart/use-perma- links-to-preload-cart: True

74.You are building a slideshow section. When the merchant selects it in the theme editor, it should

navigate to the correct image. Which event should you listen for? shopify:section:select shopify:block:select shopify:block:load shopify:section:load https://help.shopify.com/en/themes/development/sections: shopify:section:se- lect ?

75.All values in Liquid are truthy except false.

True False https://help.shopify.com/en/themes/liquid/basics/true-and-false: False. nil and false

17 / 21

76.Which of the following Liquid objects do not have images associated with them?

variant line_item blog article: line_item ?

77.A metafield consists of:

Name, type, permissions, and webhook Namespace, key, value, and description ID, settings, attributes, and type Handle, tag, variable, and class https://help.shopify.com/en/themes/liquid/objects/metafield: Namespace, key, value, and description

78.Which of the following describes the purpose of the asset_url Liquid filter:

Displaying the URL of a file on the storefront Linking a layout file to a stylesheet Outputting a URL of a downloadable product Creates a link to a file on the Files page of the admin https://help.shopify.com/en/themes/liquid/filters/url-filters#asset_url: Display- ing the URL of a file on the storefront

79.Since Asset files have a stored history, you will be able to revert changes to previous versions

without backing them up. True False https://ecommerce.shopify.com/c/ecommerce-design/t/asset-folder-ver- sion-control-265354: False

80.Which tag controls the maximum number of blocks in a section?

max_blocks limit block_limit limit_blocks https://help.shopify.com/en/themes/liquid/tags/iteration-tags: limit

81.The gift_card.liquid file requires the addition of a QR code image, sized at:

80x80px 100x100px 120x120px Any square dimensions above 75px: 120x120px

19 / 21

92.Using Liquid's json filter, you can convert a JSON string to Liquid object.-

: True

93. Product metafields can be exported via the default Shopify Admin exports.-

: True https://help.shopify.com/en/manual/products/import-export/export-products

94.Which theme file would you edit if you are creating a preset for your theme?:

settings_data.json https://www.shopify.com/partners/blog/shopify-theme-styles-and-presets

95.What is the maximum number of images which can be added to a single product?: 250

96.What is the maximum number of variants a product can have?: 100

97.Private applications can interact with the Shopify API on behalf of multiple stores, as long as the

application has been granted explicit permission by a merchant.: False https://www.crowdbotics.com/apps/shopify

98.To connect Theme Kit to your local theme, you must specify a theme ID. Where can you locate

the theme ID?: In the URL when viewing the theme editor https://support.boldcommerce.com/hc/en-us/articles/360039709212-Find-a-Shopi- fy-Theme-s-ID- Number

99.Where in a theme would you add the script for Lazysizes?: As a snippet within the

snippets directory

100. Partner-friendly apps are apps which are free for Shopify Partners to use on stores with a

paying plan.: False

101. Which filter would you use in order to link a Liquid template to stylesheets on a merchants

custom theme?: { { asset_url } }

20 / 21

102. You are using an alternate Liquid template to return a JSON formatted string to a JavaScript

function. Your string contains < body > tags and is not recognized as valid JSON by your JavaScript function. What is the likely cause of this issue?: Your Liquid template is missing { % layout none % } https://www.shopify.com/partners/blog/84342470-the-power-of-alternate-lay- out-files-in-shopify-theme-development