Skip to content

Learn about Altapac's Product Structure

The guiding light to Altapac's product fields, logic and how-tos.

Products are entered in the Maropost cPanel like on any Maropost store. What’s different is how the altapac.com theme reads them. It gives many fields a job that stock Maropost doesn’t have, and it expects some values in exact formats.

How a product reaches the site

  • Two product page layouts. The Website Design Template field picks the layout. Leave it blank for the standard product page. Set it to bikeRacks for the bike-rack page, which has its own sections, tiles and add-ons.
  • Product cards. Category pages and other product lists show products as cards. Some fields show only on cards, not on the product page, such as misc4 (Manufacturer’s Sku) and the image badge in misc21 and misc22.
  • What the theme reads. Standard fields, custom fields (misc fields), item specifics, cross-sells, prices for each customer group, and stock. The theme combines these to choose the availability label, the buy button and the price shown.

How-to pages

Reference

Promotions and the parts finder also change what a product page shows. See Run a promotion and Maintain the parts finder.

For developers

Based on the development branch of Altapac-ReDev. Paths are relative to src/templates/.

  • products/template.html (standard page) and products/bikeRacks.template.html (bike-rack page, selected by [@display_template@])
  • thumbs/product/template.html (grid), list.template.html, box.template.html (product cards)
  • products/includes/availability_state.template.html (availability label), price_state.template.html (price on request), trade_group.template.html (trade groups)
  • Field formats: .claude/skills/base-templating/references/value-formats.md. Product cache: references/caching.md