Skip to the main content

Webal Phoca Pages lets you rearrange Phoca Cart's product page. You place the parts of the page where you want them, and every product page that uses your layout is printed that way. Phoca Cart's own files are never edited.

A toy product page printed from the starter Phoca's classic, at 1400 pixels wide: the gallery on the left, the price and Add to cart on the right, the description below

Blocks are Phoca Cart's own parts

Each part of the product page is a block: the gallery, the title, the price, Add to cart, the description, the reviews and so on. A block prints what Phoca Cart itself prints for that part, with Phoca Cart's own files and settings. So:

  • a part that Phoca Cart hides (for example a product with no reviews, or the wish list switched off in Phoca Cart's Options) prints nothing;
  • Phoca Cart's prices, discounts, stock messages, options and the cart work exactly as before;
  • you choose where each part goes, how wide it is at each screen size, and how some parts look.

"Phoca's own page"

This manual calls the page Phoca Cart prints by itself "Phoca's own page". A product shows Phoca's own page:

  • when no layout applies to it;
  • whenever anything goes wrong while a layout is printed (the product page never breaks: it falls back to Phoca's own page and the problem is noted for you, see Checks and publishing).

What it needs

  • Joomla 6 and Phoca Cart 6 (tested with Phoca Cart 6.1.9).
  • PHP 8.3 or later.
  • The Cassiopeia template, through a child template of it (Joomla can make one for you).

It works on the product page only. Phoca Cart's category, cart and checkout pages stay as they are.

It changes nothing until you say so

Installing Webal Phoca Pages changes nothing on your shop. Product pages stay Phoca's own until you press Use on this template on the layouts list, and even then only products that a layout applies to change. Stop using puts every product page back to Phoca's own.

Next: Getting started.