Updated query and added bio text styling.
This commit is contained in:
+3
-2
@@ -13,6 +13,7 @@ SELECT a.name AS product,
|
|||||||
COALESCE(v.name, a.name) AS name,
|
COALESCE(v.name, a.name) AS name,
|
||||||
CONCAT(CONCAT(v.weight, ' '), u.display) AS weight,
|
CONCAT(CONCAT(v.weight, ' '), u.display) AS weight,
|
||||||
a.bio AS bio,
|
a.bio AS bio,
|
||||||
|
v.ean AS ean,
|
||||||
COALESCE(v.description, a.description) AS description,
|
COALESCE(v.description, a.description) AS description,
|
||||||
CONCAT(COALESCE(v.ingredients, a.ingredients), s.bio_info) AS ingredients,
|
CONCAT(COALESCE(v.ingredients, a.ingredients), s.bio_info) AS ingredients,
|
||||||
CONCAT(
|
CONCAT(
|
||||||
@@ -34,7 +35,6 @@ FROM article AS a
|
|||||||
INNER JOIN unit AS u ON v.unit_id = u.id
|
INNER JOIN unit AS u ON v.unit_id = u.id
|
||||||
INNER JOIN label AS l ON v.label_id = l.id
|
INNER JOIN label AS l ON v.label_id = l.id
|
||||||
ORDER BY a.name, v.weight ASC
|
ORDER BY a.name, v.weight ASC
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -61,5 +61,6 @@ ORDER BY a.name, v.weight ASC
|
|||||||
|
|
||||||
### BIO text
|
### BIO text
|
||||||
```html
|
```html
|
||||||
|
<html><head><style type='text/css'>body {font-family: "Myriad Pro"; font-size: 6px;}</style></head><body><p style="margin: 0; padding: 0;">
|
||||||
|
</p></body></html>
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user