Skip to the main content

Webal Phoca Pricing Table shows your Phoca Cart products as price plans side by side. You type the Phoca Cart Product ID of each plan. The name, picture, price and stock words come from Phoca Cart, so the table can never disagree with your shop.

Each plan has a few bullet points, a price and a button. The button goes to the product page, or puts the product in the basket. Give a plan a second product, for the yearly price, and a switch above the plans lets the visitor choose between the two.

Use it for a short list of packages or products that you want people to compare. For a long catalogue, use Phoca Cart's own product list. For plans with prices that you type yourself, use Webal Pricing.

This module is part of Webal Phoca Blocks, which needs Phoca Cart 6 or later.

Tip. A plan is one product, or one pair of products, in the table. A product ID is the number that Phoca Cart gives to each product. A button here is a link or a form that looks like a button.

Where the prices come from

The table never works out a price itself. It asks Phoca Cart, and it shows the answer that Phoca Cart gives to the person looking at the page.

So these are all exactly what Phoca Cart shows: the price, the tax and whether prices are shown with or without tax, the sale price, the old price, the price for each unit, the stock words, and the words for a free product or a product with its price on request.

The module has no setting for any of these. To change one, change it in Phoca Cart, and the table follows. The only price choice in the module is for products whose price depends on options, and it is explained below.

Tip. If a price in the table looks wrong, look at the same product on its Phoca Cart page. They should match.

Add it to a page

These steps follow the order of the screens in Joomla. Nothing is saved until you press Save.

  1. Log in to the Joomla administrator. In the menu on the left, choose Content, then Site Modules.
  2. Press New. A list of module types opens.
  3. Choose Webal Phoca Pricing Table from the list.
  4. Type a Title for the module.
  5. On the Module tab, under Plans, press Add for each plan. You can add up to six.
  6. In each plan, type the Product ID. To find it, open Phoca Cart in another tab: Components, Phoca Cart, then Products. The number is in the column headed ID. With Phoca Cart's standard settings, that is the last column.
  7. If the plan has a yearly price, type the product for it in Yearly product ID. The first product is then the monthly one.
  8. If you like, type a Plan name, a Short line and a Label. Left empty, the name comes from the shop. So does the line, unless you changed Plan text.
  9. Choose where the bullet points come from in Plan features. For Typed in each plan row, type the Features in each plan, one on each line. For From the Phoca Cart product, add a bulleted list to the product's Features box in Phoca Cart.
  10. Open the Shop tab. Choose what the Button does: link to the product page, add to cart, both, or no button.
  11. For a monthly and yearly switch, open the Switch tab and choose how it looks. It needs at least one plan with a Yearly product ID.
  12. Go back to the Module tab. In the right-hand column, open the Position list and choose a position. A position is a named place in your template where a module can go. For a wide block in Cassiopeia, main-top and main-bottom are good choices.
  13. Beside Show Title in the same column, choose Hide if you typed a heading in the Title group. Choose Show only if you want Joomla's module title above the plans.
  14. Press Save. The message "Module saved." appears. If a product ID is not a Phoca Cart product, the save is refused and the message says "there is no Phoca Cart product with the ID" and the number. Correct it and save again.
  15. Open the Menu Assignment tab. In Module Assignment, choose Only on the pages selected.
  16. Beside Assign to Menu Items, press None. Every page is ticked until you do this.
  17. Type the name of the page in the search box, then tick that page.
  18. Press Save & Close.
  19. Open that page on your site and look at the module.

Accessibility. Give each Webal Phoca Pricing Table on a page a different module title. The title names the block for screen readers.

Options

Module tab

The options of this module sit in the middle column of the Module tab (the group is called Plans). The note at the top of the group repeats the rule above: prices, tax and discounts are shown exactly as your Phoca Cart settings show them.

Options on the Module tab
OptionWhat it doesDefault
TitleAn optional heading above the plans. See the Title group. If you type one, set Show Title to Hide.No title
PlansOne row for each plan, up to six. A row with no Product ID is left out. The order of the rows is the order on the page and for a screen reader.None
Plan featuresWhere the bullet points under the price come from. Typed in each plan row uses the Features box of each plan. From the Phoca Cart product uses the bullet points in the product's Features text in Phoca Cart, or in its description if the Features text has none. Only list items are used. Other text is left out.Typed in each plan row
Most bullet pointsThe most bullet points shown for each plan when they come from Phoca Cart, from 1 to 10. Each one is cut to 120 characters. Shown only when Plan features is From the Phoca Cart product.5
Products with optionsFor a product whose price depends on options that the customer must choose. From and to shows the lowest and the highest price. From only shows just the lowest. Both figures come from Phoca Cart.From and to
Words after the priceWords printed after the price of a plan with one product, for example "one-off payment". Up to 40 characters.Empty (no words)
Words after the monthly priceWords printed after the monthly price of a plan that also has a yearly product. Empty uses the standard words "per month".Empty
Words after the yearly priceWords printed after the yearly price of a plan that also has a yearly product. Empty uses the standard words "per year".Empty
Options in each plan row
OptionWhat it doesDefault
Product IDThe Phoca Cart product this plan sells. When Phoca Cart is in place, saving refuses a number that is not a product. A product that is switched off is allowed, so you can prepare a plan before the product is on sale. When Phoca Cart is switched off, any whole number is accepted, because the shop cannot be asked.Empty
Yearly product IDOptional. The second product, for the yearly price. The first product is then the monthly one.Empty
Plan nameThe heading of the plan, up to 60 characters. Empty uses the product name from the shop. If the product cannot be shown, this is the only name that can appear.Empty
Short lineOne short line under the name, up to 120 characters. Empty uses the short text from the shop, if Plan text says so.Empty
PictureA picture for this plan. It is used only when Plan picture is set to A picture you choose in each row. It has the same boxes as in other Webal modules: Image, Decorative image, Alternative text and Loading.Empty
LabelA small label such as Most popular, up to 30 characters.Empty
Highlight this planDraws a thick outline round the plan in the accent colour. A highlighted plan with no label shows the word Recommended, so the highlight is words as well as colour. Highlight one plan only.No
FeaturesUsed only when Plan features is Typed in each plan row. One on each line, up to twelve, each up to 120 characters. A plus sign and a space means included. A minus sign and a space means not included. A line with neither counts as included.Empty
Option IDsOptional. For a product with options: Phoca Cart option IDs separated by commas, for example 14, 21. The plan is then priced with exactly those options, using Phoca Cart's own price. Most plans do not need this.Empty
Button wordsThe words on the main button of this plan, up to 60 characters. Empty uses the words set on the Shop tab.Empty
Button styleThe look of this plan's main button: Use the module setting, Primary (filled), Secondary (filled, grey), Outline in the primary colour, or Outline in grey.Use the module setting
CSS classExtra class names for this plan only. For people who style their own pages.Empty

Shop tab

Options on the Shop tab
OptionWhat it doesDefault
A plan that cannot be shownWhat to do with a plan whose product is missing, switched off, or not open to this visitor. Leave the plan out, Show it greyed out with Not available, or Show it with a note. Only the plan name and the text you typed are ever shown, never anything from the shop. A plan with no typed name is always left out.Leave the plan out
A plan that is out of stockHow to show a plan whose product Phoca Cart would not sell because it is out of stock. Show it as usual, Show it greyed out with a note, or Leave the plan out. This changes only how the plan looks. The note uses Phoca Cart's own stock words, Phoca Cart's settings decide whether the add to cart button is offered, and the link to the product page always stays.Show it greyed out with a note
ButtonLink to the product page, Add to cart, Both or No button.Link to the product page
Link button wordsThe words on the button that goes to the product page. Empty uses the standard words "View product".Empty
Add to cart button wordsThe words on the add to cart button. Empty uses the standard words "Add to cart". Shown only when Button is Add to cart or Both.Empty
Plan pictureNo picture, The product picture from the shop, or A picture you choose in each row.The product picture from the shop
Shop picture sizeSmall, Medium or Large: which of the shop's own picture sizes to use. A size the shop has not made is replaced by the nearest one. Shown only when Plan picture is The product picture from the shop.Medium
Plan textThe line under the plan name. The short text from the shop or Only the text typed in the row. Text typed in a row always wins.The short text from the shop
Keep the shop dataNever keep a copy asks the shop every time, so a changed price shows at once. Keep it for a few minutes is quicker on a busy site. See Caching below.Never keep a copy
Minutes to keep itHow many minutes a kept copy lasts, from 1 to 60. Shown only when Keep the shop data is Keep it for a few minutes.5

Switch tab

The switch lets a visitor choose monthly or yearly prices. It needs no script. It is printed only when Show the monthly and yearly switch is on and at least one plan has a Yearly product ID and both of its products can be shown.

Options on the Switch tab
OptionWhat it doesDefault
Show the monthly and yearly switchShows the switch above the plans. Off shows one set of prices, the ones chosen in Show first.Yes
Show firstWhich prices show when the page opens: Monthly prices or Yearly prices. With the switch off, these are the only prices shown.Monthly prices
Words for the monthly sideThe words on the monthly side. Empty uses "Monthly".Empty
Words for the yearly sideThe words on the yearly side. Empty uses "Yearly".Empty
Saving noteA short note on the yearly side, for example Save 20 percent. A screen reader reads it as part of the yearly choice.Empty
Switch alignmentAt the start, centred or at the end.Centred

With the keyboard, Tab enters the switch on the chosen side. The arrow keys move to the other side and choose it. A plan with one product shows its price on both sides. The plans never change size when you switch, because the two prices of a plan sit in the same space.

Look tab

Options on the Look tab
OptionWhat it doesDefault
Plan stylePlain (no edge), Border, Shadow or Filled (a soft tint). The highlight outline is drawn in every style.Border
Plan heading levelAutomatic uses the level just below the Title (Heading 3 under a Heading 2), or Heading 2 with no Title. It never skips a level. You can also choose Heading 2 to Heading 6, or Plain text, not a heading.Automatic (one level below the Title)
Price sizeLarge, Medium, Small or the size of a Heading 2.Medium
Button sizeSmall, Normal or Large. Every size is at least 44 pixels high.Normal
Full width buttonYes makes each plan button as wide as the plan.Yes
GridHow many plans fit across at each screen size, the gap, and what happens to a short last row. The columns never go above the number of plans. See Grid. On a phone the plans stack, one under another.See Grid

Layout tab

The shared groups General, Spacing, Width and Colour scheme. They work the same in many modules, so they are explained once: see General, Spacing, Width and Colour scheme.

Animation tab

The shared Animation group. Everything is off for visitors who ask their device for less motion.

Advanced tab

Joomla's own Layout and Module Class. There is no Caching setting on purpose. See Caching below.

What a visitor sees when a product is not simple

What the table does in each case
The product isWhat the plan shows
On sale, or with an original priceThe prices Phoca Cart gives. When Phoca Cart discounts a price, the price before the discount is struck through and read out as "Was", and the new price as "Now". A product's original price is printed above the price with Phoca Cart's own label, Original price, as Phoca Cart prints it, whether or not it is higher than the price. A discount that Phoca Cart applies to the whole basket is shown after the sale price when Phoca Cart's own setting shows it on its product pages.
Priced by its optionsA range, "From" the lowest price "to" the highest, or just "From" the lowest, as you chose in Products with options. Only the options that a customer must choose count. Optional extras do not. A product with no such options, a bundle (a Phoca Cart product made of other products), and a plan with Option IDs show one price.
Free (a price of zero), or priced on requestPhoca Cart's own words. A product priced on request has no add to cart button, and its plan links to the product page.
Out of stockWhat you chose in A plan that is out of stock. Phoca Cart decides what out of stock means: stock checking and Stock checkout are on, and none is left. A product that Phoca Cart still sells keeps its add to cart button, and is never greyed out or left out.
Archived in Phoca CartNo price, no stock words and no basket button, as on Phoca Cart's own page, which says the product was discontinued. The plan prints that same sentence, in Phoca Cart's own words. The picture, name, bullet points and the link to the product page stay, and the page opens as normal. A plan with an archived monthly or yearly product shows as one plan, with no switch. To bring the price back, take the product out of the archive in Phoca Cart.
Missing, switched off in Phoca Cart, or not open to this visitorWhat you chose in A plan that cannot be shown.
A product that needs options chosen firstThe link to the product page, even if Button is Add to cart.

If a plan can show more than one product, such as a monthly and a yearly one, it counts as out of stock only when both are out of stock.

Add to cart

With Add to cart, the button is a plain form. It sends the visitor to Phoca Cart's own basket task, then back to the same page, where Phoca Cart shows its own message that the product was added. It needs no script, and it works with scripts switched off.

A plan gets the link to its product page instead when the product needs options chosen first, is archived, is priced on request, or Phoca Cart does not let this visitor buy it (this includes an out of stock product where Phoca Cart's own setting hides its add to cart button).

Caching

Joomla never stores this module in its own cache, because it shows prices for the person looking, and the add to cart form carries a one-time code. That is why the Advanced tab has no Caching setting.

The module has one choice of its own, Keep the shop data. With Never keep a copy, every page view asks Phoca Cart, and a changed price shows at once. With Keep it for a few minutes, the module keeps a copy of the shop's answers, never the page itself. It keeps one copy for each customer group and currency. A price you change in Phoca Cart shows on the page after at most the minutes you chose.

The kept copy is not used when your shop works out tax by the visitor's country. In that case the module asks Phoca Cart every time, whatever you chose. We tested this on a real shop with Joomla's own caching switched off and on. In both cases, a changed price showed only after the minutes had passed, and it showed at once with Never keep a copy.

Accessibility

  • The module prints one heading for the table if you type a Title, then one heading for each plan, at the level you choose. It never skips a level.
  • A struck-through old price is also read out in words, as Was and Now. A range is read out as From, or as one price to another. A struck line is never the only sign.
  • A plan that is greyed out has a dashed edge and a sentence, "Not available" or the stock words of Phoca Cart. It is never just faded text.
  • The highlighted plan has a thick outline and a label. Neither depends on colour alone.
  • Typed features say "Included" or "Not included" in words, and also show a tick or a cross. The bullet points from Phoca Cart are a plain list.
  • Every button is a real link or a real form button with its words as its name. When several plans share the same words, the plan name is added for screen readers.
  • The switch is a group of two radio buttons named Billing period. Each side is at least 44 pixels high, with a clear focus ring. Every button is at least 44 pixels high too.
  • The plans stack in one column on a narrow screen, with no sideways scrolling at 320 pixels. The module works in a right-to-left language and with scripts switched off.

Accessibility. Webal Phoca Pricing Table was tested against WCAG 2.2 AA with automatic checks and a keyboard walk on 3 November 2026, in light and dark colours. How NVDA and VoiceOver read it has not been checked, so it is not claimed.

Other languages

Words that you type, such as plan names, features and button words, stay as you typed them. The words of the module itself come from language files: Monthly, Yearly, per month, per year, Recommended, View product, Add to cart, Not available, Out of stock, From, to, Was and Now. You can change the switch words and the words after the prices with the options on the Switch and Module tabs. Prices, tax, stock status and the discontinued sentence come from Phoca Cart, in its words.

A site in a language other than English has not been tested with this module.

Tips

  • Type a Plan name in each plan. If a product ever goes missing, the plan can then still appear greyed out or with a note. With no typed name, a plan that cannot be shown is left out.
  • To change a price, tax, sale, old price or stock word, change it in Phoca Cart. Do not look for a setting here.
  • Use From and to for products with required options. A customer then sees the real spread of prices before they open the product page.
  • Highlight one plan only.
  • Keep the shop data only on a busy site. For most sites Never keep a copy is the right choice.

Known limits

  • Joomla 5.4 has not been tested. Every test so far ran on Joomla 6.2 with Phoca Cart 6.1.9.
  • Customers in special groups, and a second currency. How the table looks for a signed-in customer in a special customer group, or when the visitor picks another currency, was checked against recorded answers from Phoca Cart. It was not checked in a browser.
  • Browsers. The browser tests used one browser. Safari and Firefox have not been tried.
  • Other set-ups. A site with search-friendly addresses switched off, a site in a sub-folder, a site in another language, and the Webal Blocks options that change how its styles and scripts are loaded have not been tested with this module on a real page.
  • The product ID box is a plain number box. It does not yet show the product name beside it. A product picker may come later. Phoca Cart does not show option IDs in the administrator. Finding a brand number and an option ID says what to do instead.
  • Six plans at most.
  • Phoca Cart's own pages are not changed. The product page, the basket and the checkout look as Phoca Cart makes them.

Other ways to reach us

Ask the community