Book

On this page, ASA 2’s managed template “Book” is used. It is specialized for rendering book information, like authors, binding and number of pages.

Main features

  • Specialized for rendering books
  • Responsive design
  • Customizable without programming skills

Example

This first example is built with the following shortcode:

10-Day Green Smoothie Cleanse * - Paperback (192 pages)
By JJ Smith
Price: $10.20
(As of: 2017/06/26 12:18 pm - Details
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on http://www.amazon.com/ at the time of purchase will apply to the purchase of this product.
)
You save: $5.79 (36 %)
77 new from $7.7471 used from $3.49
  • Atria Books

The New York Times bestselling 10-Day Green Smoothie Cleanse will jump-start your weight loss, increase your energy level, clear your mind, and improve your overall health.Made up of supernutrients from leafy greens and fruits, green smoothies are figreen smoothies are filling and healthy and you will enjoy drinking them. Your body will also thank you for drinking them as your health and energy improve to levels you never thought possible. It is an experience that could change your life if you stick with it!

This book provides a shopping list, recipes, and detailed instructions for the 10-day cleanse, along with suggestions for getting the best results. It also offers advice on how to continue to lose weight and maintain good health afterwards.

Are you ready to look slimmer, healthier, and sexier than you have in years? Then get ready to begin the 10-Day Green Smoothie Cleanse!

If you successfully complete the 10-Day Green Smoothie Cleanse, you will…
• Lose 10–15 pounds in 10 days
• Get rid of stubborn body fat, including belly fat
• Drop pounds and inches fast, without grueling workouts
• Learn to live a healthier lifestyle of detoxing and healthy eating
• Naturally crave healthy foods so you never have to diet again
• Receive over 100 recipes for various health conditions and goals

(* = affiliate link / image source: Amazon partner program)

Customization

On ASA 2’s admin page “Templates” you can customize the general options of template “Book“. These settings will effect every usage of this template.

Book customization

Shortcode options

Besides the general settings, it is possible to overwrite template options per shortcode.

For example, to show a red “border_color” instead of the globally configured color, this shortcode would make the difference:

Or to load a different image size than the generally configured, use option “image_size”:

Following you find a list of all available shortcode options for template “Book”:

Option Type Values Description
align string
  • "none" (None)
  • "left" (Left)
  • "center" (Center)
  • "right" (Right)
Align
max_width int 0 between 9999 Max width (used when align is not none)
image_size string
  • "small" (Small)
  • "medium" (Medium)
  • "large" (Large)
Image size
image_max_width int 0 between 999 Image max width (in pixels, 0 - 999, 0 for none)
main_image_slideshow bool "yes" / "no" Show additional images as slideshow on main image
slideshow bool "yes" / "no" Show slideshow of additional images below other data
slideshow_max int 0 between 999 Maximum slideshow items (0 = all)
image_effect string
  • "0" (None, no linking at all)
  • "lightbox" (Add lightbox tag and link to large version)
  • "imgpreview" (Image preview to large version on mouse hover)
  • "link_to_shoppage" (Image links to shop page)
Image effect
amazon_logo bool "yes" / "no" Show Amazon logo bottom right
disclaimer string
  • "none" (None)
  • "asterisk_and_text" (Asterisk in title link and button. Disclaimer text in each template.)
  • "asterisk_only" (Asterisk in title link and button. No disclaimer text.)
Disclaimer
border_width int 0 between 99 Border width (in pixels, 0 for no border)
border_radius int 0 between 99 Border radius (in pixels, > 0 for rounded corners)
border_color string CSS compatible color value, like hex values (#ff0000) or color names (red) Border color
box_effect string
  • "0" (None)
  • "1" (Raised box look)
  • "2" (Lifted corner look bottom left and right)
  • "3" (Lifted corner look bottom left)
  • "4" (Lifted corner look bottom right)
  • "5" (Lifted corners with increased angles)
  • "6" (Curved shadow at the bottom of the box)
  • "7" (Curved shadow at the top and bottom of the box)
  • "8" (Rounded shadows on either side of the box)
Box shadow effect
show_buy_button bool "yes" / "no" Show buy button
button_target string
  • "shop" (Shop page)
  • "buy" (Buy page)
Button target
background_color string CSS compatible color value, like hex values (#ff0000) or color names (red) Background color
title_link_to_shop_page bool "yes" / "no" Title links to shop page
title_color string CSS compatible color value, like hex values (#ff0000) or color names (red) Title color
title_font_size int 1 between 500 Title font size (in percent)
show_new_and_used_prices bool "yes" / "no" Show new and used prices
show_features bool "yes" / "no" Show product features (if available)
features_font_size int 1 between 100 Features font size (in percent)
show_book_description bool "yes" / "no" Show book description (if available)
description_font_size int 1 between 100 Book description font size (in percent)
price_color string CSS compatible color value, like hex values (#ff0000) or color names (red) Price color
hide_price bool "yes" / "no" Hide price(s)
show_binding bool "yes" / "no" Show binding
show_number_of_pages bool "yes" / "no" Show number of pages
show_last_update bool "yes" / "no" Show date of last item update
last_update_format string custom text Last item update date format (supports format of PHP date function)

More examples

By Johanna Basford
Price: $13.26
(As of: 2017/06/26 12:18 pm - Details
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on http://www.amazon.com/ at the time of purchase will apply to the purchase of this product.
)
You save: $2.69 (17 %)
  • Chronicle Books-Secret Garden Coloring Book
  • Tumble Down The Rabbit Hole And Find Yourself In An Inky Black And White Wonderland
  • And There Are Also Bits Of The Garden That Still Need To Be Completed By You

Good news for all SECRET GARDEN fans! All editions of SECRET GARDEN now feature thicker and heavier paper stock, fighting bleed-through from ink pens.Experience the phenomenon that has sold 11 million copies worldwide and launched the coloring crazehe coloring craze for adults.

This beautiful and interactive coloring book features delicate and highly detailed pen-and-ink illustrations—all waiting to be brought to life with color. As added entertainment, tiny garden creatures are hidden on the pages, waiting to be found, and a key and index are included in the back. The book's cover and jacket are also colorable.

Appealing to all ages, SECRET GARDEN is the original and first book by Johanna Basford.

(* = affiliate link / image source: Amazon partner program)

The Martian * - Paperback (387 pages)
By Andy Weir
Price: $11.06
(As of: 2017/06/26 12:17 pm - Details
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on http://www.amazon.com/ at the time of purchase will apply to the purchase of this product.
)
You save: $3.94 (26 %)
106 new from $4.99296 used from $0.99
  • The Martian

Six days ago, astronaut Mark Watney became one of the first people to walk on Mars. Now, he's sure he'll be the first person to die there.After a dust storm nearly kills him and forces his crew to evacuate while thinking him dead, Mark finds himself k finds himself stranded and completely alone with no way to even signal Earth that he’s alive—and even if he could get word out, his supplies would be gone long before a rescue could arrive.

Chances are, though, he won't have time to starve to death. The damaged machinery, unforgiving environment, or plain-old "human error" are much more likely to kill him first.

But Mark isn't ready to give up yet. Drawing on his ingenuity, his engineering skills—and a relentless, dogged refusal to quit—he steadfastly confronts one seemingly insurmountable obstacle after the next. Will his resourcefulness be enough to overcome the impossible odds against him?

(* = affiliate link / image source: Amazon partner program)
Für jeden Tag: Mehr als 100 abwechslungsreiche Rezepte zum neuen Feel Good Programm von Weight Watchers. Jetzt mit der neuen SmartPoints-Formel
By Weight Watchers Deutschland
Price: EUR 19,99
(As of: 2017/06/26 12:18 pm - Details
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on http://www.amazon.de/ at the time of purchase will apply to the purchase of this product.
)
64 new from EUR 16,002 used from EUR 18,99

Mehr als 100 abwechslungsreiche RezepteBroschiertes BuchDie neue SmartPoints Formel berücksichtigt die Kalorien, den Eiweiß- und Zuckergehalt sowie den Anteil an gesättigten Fettsäuren eines Lebensmittels und gibt somit Auskunft, welche Nährstoffqualährstoffqualität ein Lebensmittel hat. Das ist der Unterschied zu den bisherigen ProPoints. Aber auch für diejenigen, die nicht aktiv das Weight Watchers Programm machen, ist dieses Kochbuch relevant, denn die Rezepte sind auch so einfach super lecker und natürlich kalorienoptimiert.

Auch im Alltag gehts besonders. Zumindest wenn man das Für jeden Tag Kochbuch von Weight Watchers zur Hand hat. Dann geht es besonders leicht oder besonders einfach. Aber immer besonders inspirierend. Ob Fleisch, Fisch oder vegetarisch, ob herzhaft oder süß - hier findet jeder Inspiration für jeden Tag und jeden Geschmack.

(* = affiliate link / image source: Amazon partner program)
Dein Yoga, dein Leben: Übungen, Meditationen, Rezepte
By Tara Stiles
Price: EUR 19,99
(As of: 2017/06/26 12:18 pm - Details
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on http://www.amazon.de/ at the time of purchase will apply to the purchase of this product.
)
65 new from EUR 15,9915 used from EUR 7,04

Übungen, Meditationen, RezepteGebundenes BuchTara Stiles unterrichtet Yoga nach dem Prinzip: kein Stress, mehr Spaß. In ihrem neuen Buch kombiniert sie drei Bausteine, die zu einem glücklichen und strahlenden Leben führen: Yoga, Meditation und gesundn und gesunde Ernährung. Die Yoga-Rebellin schreibt nichts vor, sie inspiriert. Ihre wichtigste Botschaft dabei: Folge nicht fremden Regeln, die nicht zu dir passen. Bestimme selbst, wie du Yoga übst, wann du entspannst und was du isst. Es geht um dein Leben und dein Yoga!

(* = affiliate link / image source: Amazon partner program)