Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow folksonomy engine on dietetary products #9517

Merged
merged 2 commits into from
Dec 12, 2023

Conversation

alexgarel
Copy link
Member

fixes: #9412

@alexgarel alexgarel requested a review from a team as a code owner December 12, 2023 14:53
@github-actions github-actions bot added JavaScript 🏷️ Folksonomy Project The Folksonomy project allows to add custom data to product, and model non food products. labels Dec 12, 2023
@@ -146,7 +146,7 @@ function folskonomy_engine_init() {
*/
function displayFolksonomyPropertyValues() {
//$(".details").before(
$("div[itemtype='https://schema.org/Product']").append(
$("div.main-product").append(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it fits this PR, but if used in this way, it might be better to make it div id="main-product" instead of a class?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are right, I will do both to avoid disturbing CSS :-)

@github-actions github-actions bot added Product Page Template::Toolkit The templating toolkit used by product opener. The starting point for HTML/JS/CSS fixes. labels Dec 12, 2023
@alexgarel alexgarel enabled auto-merge (squash) December 12, 2023 15:04
Copy link

sonarcloud bot commented Dec 12, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@alexgarel alexgarel merged commit 88ebf9e into main Dec 12, 2023
11 of 12 checks passed
@alexgarel alexgarel deleted the fix-dietetary-products-folksonomy branch December 12, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ Folksonomy Project The Folksonomy project allows to add custom data to product, and model non food products. JavaScript Product Page Template::Toolkit The templating toolkit used by product opener. The starting point for HTML/JS/CSS fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Folksonomy Engine isn't displayed for some products
2 participants