Skip to content

Fixes for subdomain dir - #124

Merged
Ys-sudo merged 1 commit into
mainfrom
agents/graphql-polylang-cors-issue-debugging
Nov 21, 2026
Merged

Ys-sudo merged 1 commit into
mainfrom
agents/graphql-polylang-cors-issue-debugging

Conversation

@Ys-sudo

@Ys-sudo Ys-sudo commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

This pull request addresses several issues related to subdirectory installations and the handling of CSS in CMS content. Key changes include:

  • Subdirectory URL Handling:

    • Centralized the construction of REST and GraphQL URLs to ensure they correctly reference the subdirectory installation path, preventing issues with incorrect URL resolutions.
    • Updated shortcode product links to normalize backend URLs, ensuring they work correctly in both subdirectory and root installations.
  • CMS Style Block Promotion:

    • Sanitized <style> blocks from CMS content are now promoted into the document head for both product descriptions and regular CMS pages, ensuring that styles are applied correctly.
    • Restored previous behavior for Gutenberg styles to maintain the correct cascade/order in the page's style application.
  • Zero-Price Product Handling:

    • Implemented logic to hide prices for products with a price of 0 or 0,00, changing the call-to-action from "Add to cart" to "Learn more".
  • Testing and Validation:

    • Comprehensive regression tests were added, with all targeted tests passing successfully, ensuring that the changes do not introduce new issues.

These updates aim to enhance the functionality of the storefront in multisite and subdirectory configurations while maintaining compatibility with existing root-level installations.

@netlify

netlify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for shroom-v3 ready!

Name Link
🔨 Latest commit 150d3d8
🔍 Latest deploy log https://app.netlify.com/projects/shroom-v3/deploys/6b01c59f7eb72456137fa993
😎 Deploy Preview https://deploy-preview-124--shroom-v3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for e-multicontent-pl ready!

Name Link
🔨 Latest commit 150d3d8
🔍 Latest deploy log https://app.netlify.com/projects/e-multicontent-pl/deploys/6b01c59f6a70e9555d05f16f
😎 Deploy Preview https://deploy-preview-124--e-multicontent-pl.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for aqua-bar-new canceled.

Name Link
🔨 Latest commit 150d3d8
🔍 Latest deploy log https://app.netlify.com/projects/aqua-bar-new/deploys/6b01c59f21873aa5a9f0a71e

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
superfunky-storefront 150d3d8 Nov 21 2026, 04:25 PM

@netlify

netlify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for artopen ready!

Name Link
🔨 Latest commit 150d3d8
🔍 Latest deploy log https://app.netlify.com/projects/artopen/deploys/6b01c59fafe536f0d88519b4
😎 Deploy Preview https://deploy-preview-124--artopen.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@Ys-sudo
Ys-sudo merged commit de5c44e into main Nov 21, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant