The Page/Post Settings (Global) section controls how PriceFetchWP behaves when using shortcodes on WordPress pages and posts.
Unlike WooCommerce Settings, these options apply globally to PriceFetchWP page and post price output unless a supported shortcode attribute overrides that specific setting.
This guide explains each setting and when you may want to customize it.
– Accessing the Settings
Navigate to:
WordPress Dashboard → PriceFetchWP → Page/Post Settings (Global)
Changes made here affect PriceFetchWP price output on pages and posts across your website.
Page/Post fetching does not require a separate global Enable checkbox.
PriceFetchWP runs when a supported PriceFetchWP shortcode is present and its external URL matches a configured URL Entry.
– Preferred Price Output
The Preferred price output setting controls which price PriceFetchWP displays by default on pages and posts.
Available options include:
- Auto
- Sale price only
- Regular price only
- WooCommerce style
Auto
Auto displays the Sale Price when one is available.
If no usable Sale Price is available, PriceFetchWP displays the Regular Price instead.
This is a good default for most installations.
Sale price only
Only the Sale Price is displayed.
If no usable Sale Price is available, PriceFetchWP follows the configured failure/output behavior.
Regular price only
Only the Regular Price is displayed.
WooCommerce style
WooCommerce-style output can display both Regular Price and Sale Price together.
For example:
$9.99 $4.99The Regular Price can be shown alongside the current Sale Price in a familiar e-commerce price format.
WooCommerce style reversed
Reverse order is available when: WooCommerce style is selected.
This allows PriceFetchWP to reverse the order of the two displayed prices when needed.
For example:
$4.99 $9.99If WooCommerce style is not selected, Reverse order is disabled.
– Currency Symbol
The Currency symbol setting controls the symbol displayed with Page/Post prices.
The default is: $
You can change this if your site uses another currency symbol.
This setting affects how the fetched numeric price is displayed on pages and posts.
– Delay Price Load
Delay price load is recommended and enabled by default.
When enabled, the page can continue loading while PriceFetchWP retrieves the external price separately.
Instead of making the visitor wait for the external request before the page finishes loading, PriceFetchWP displays the selected loading indicator until the price is ready.
This can improve perceived page speed, especially during the first uncached request.
Delay Price is particularly useful when:
- External websites respond slowly
- Proxy providers are being used
- A page contains multiple PriceFetchWP shortcodes
- You want page content to load without waiting for an external request
Once a valid price is cached, subsequent requests are usually much faster.
For more information, see: Delay Price
– Show Fetch Error Icon to Admins
PriceFetchWP can optionally show administrators a warning icon (⚠) on the front-end when a price fetch fails.
Enable: Show fetch error icon to admins
When enabled, administrators may see a warning icon beside the PriceFetchWP output after a failed fetch.
Visitors never see the icon.
Hovering over the icon displays:
Price fetch failed. Check logsThis gives administrators a quick visual indication that the latest price request did not complete successfully.
If the warning appears, check:
PriceFetchWP → Logging
or run: Test Entry using the exact external product URL.
The option is located near Delay Price Load, but the warning can also be used when delayed loading is disabled.
– Loading Indicator
When Delay Price Load is enabled, PriceFetchWP displays a loading indicator while retrieving the external price.
Available loader styles include:
- Spinner
- Ellipsis
- Bars
- Dual Ring
- Pulse
- Custom
You can also configure:
- Icon Size
- Loader Color
- Custom Loader CSS
If using a Custom loader, your CSS should target:
.pfetch-loader-customFor more information about customizing loading indicators, see: Loader Settings
– Error Handling
Page/Post Settings includes an option controlling what PriceFetchWP should display when a usable price cannot be retrieved.
Available choices include:
Show no price
PriceFetchWP does not display the existing price output when the fetch fails.
Show old price (if already exists)
PriceFetchWP can continue using an existing previously available price when applicable rather than immediately leaving the output empty.
This can help avoid temporary external-site or connection problems immediately removing a displayed price.
If Show fetch error icon to admins is also enabled, administrators can receive a visual warning when the latest fetch has failed.
– Shortcode Overrides
Some Page/Post global settings can be overridden by supported shortcode attributes.
For example, individual PriceFetchWP shortcodes can override the global price-output behavior using the supported:
showattribute.
Loader behavior can also be overridden using:
loaderwhen supported by the shortcode.
This allows you to keep sensible global defaults while changing specific price displays when needed.
Not every global Page/Post setting has a shortcode override.
See: Using PriceFetch Shortcodes and Shortcode Parameters & Examples
for the currently supported attributes.
– Best Practices
For most websites, the default Page/Post settings provide a good starting point.
Consider keeping Delay price load enabled if:
- You fetch from slower websites
- You use Proxy providers
- Your pages contain several external prices
- You want to avoid external requests delaying the initial page render
Use Auto for Preferred price output when you want PriceFetchWP to automatically choose a Sale Price when available and fall back to the Regular Price.
Choose a loading indicator that matches your website design while remaining simple and unobtrusive.
We also recommend enabling Show fetch error icon to admins while setting up or monitoring your external price sources. It can make failed refreshes easier to notice without exposing anything to visitors.
– Common Questions
• Why isn’t my shortcode displaying a price?
First, run: Test Entry using the exact external URL from your shortcode.
Then verify:
- The external URL is correct
- A matching URL Entry exists
- The URL Entry is not paused
- Your selector configuration works
- The selected Affiliate or Proxy configuration works, if applicable
- The shortcode is valid
If Test Entry cannot find the price, troubleshoot the URL Entry first.
If Test Entry finds the correct price but the shortcode still does not display correctly, review the Page/Post settings and shortcode parameters.
See: Testing a URL Entry
• Why does the loader only appear briefly?
If the price is already cached, PriceFetchWP may retrieve it almost immediately.
In that case, the loading indicator may only be visible for a fraction of a second.
This is normal.
• Can I override these settings?
Some settings can be overridden by shortcode attributes.
For example, supported shortcodes can override the global:
- Price output using
show - Loader behavior using
loader
Not every global Page/Post setting can be overridden.
See: Shortcode Parameters & Examples for the supported options.
• Why do I see a warning icon beside a price?
If you are logged in as an administrator and:
Show fetch error icon to admins
is enabled, the icon indicates that the latest PriceFetchWP request failed.
Hovering over it displays:
Price fetch failed. Check logsNormal visitors never see this icon.
Check PriceFetchWP Logging or run Test Entry to troubleshoot the source.
Next Steps ───
Once you’ve configured the global Page/Post settings, continue with:
- Using PriceFetch Shortcodes
- Shortcode Parameters & Examples
- Delay Price (Page Load Behavior)
- Loader Settings