diff --git a/includes/pages/home.php b/includes/pages/home.php index 84002935..ffcd9b83 100644 --- a/includes/pages/home.php +++ b/includes/pages/home.php @@ -21,7 +21,8 @@ $page->header();

Wishlist

- Create a wishlist + Create a wishlist + Add a product
diff --git a/includes/pages/wishlist-product-add.php b/includes/pages/wishlist-product-add.php new file mode 100644 index 00000000..1df4e0f7 --- /dev/null +++ b/includes/pages/wishlist-product-add.php @@ -0,0 +1,42 @@ + + */ + +use wishthis\Page; +use Brick\Schema\SchemaReader; +use Brick\Schema\Interfaces as Schema; +use Embed\Embed; + +$page = new page(__FILE__, 'Add a product'); + +$url = 'https://www.amazon.de/Adventskalender-2020-Schokolade-Weihnachtskalender-346g/dp/B08CTTP5JX'; +$embed = new Embed(); +$info = $embed->get($url); + +echo '
';
+var_dump($info->oembed);
+echo '
'; + +$page->header(); +?> +
+
+

Add a product

+ +
+
+ + +
+ + +
+
+
+ +footer();