|
- <form id="<?= $this->formId ?>" name="iso<?= rand() ?>" method="post" enctype="<?= $this->enctype ?>">
- <div class="formbody" itemscope itemtype="http://schema.org/Product">
- <input type="hidden" name="FORM_SUBMIT" value="<?= $this->formSubmit ?>">
- <input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}">
- <input type="hidden" name="AJAX_PRODUCT" value="<?= $this->product_id ?>">
- <input type="hidden" name="AJAX_MODULE" value="<?= $this->module_id ?>">
-
- <div class="spwn-image-set">
- <div class="spwn-image-gallery">
- <?= $this->getGallery('images')->generateMainImage() ?>
- <?php if($this->hasOptions): ?>
- <div class="options">
- <?php foreach( $this->options as $arrOption ): echo $arrOption['html']; endforeach; ?>
- </div>
- <?php endif; ?>
- <?= $this->getGallery('images')->generateGallery() ?>
- </div>
- <?php /* @var \Isotope\Interfaces\IsotopePrice $price */ if ($price = $this->product->getPrice()): ?>
- <div class="offer" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
- <meta itemprop="priceCurrency" content="<?= \Isotope\Isotope::getConfig()->currency ?>">
- <div class="price" itemprop="price" content="<?= \Isotope\Isotope::roundPrice($price->getAmount(1, $this->product->getOptions())) ?>"><?= $this->generatePrice() ?></div><?php if($this->baseprice): ?>
- <div class="baseprice"><?= $this->generateAttribute('baseprice') ?></div><?php endif; ?>
- </div>
- <?php endif; ?>
- </div>
-
- <h1 itemprop="name"><?= $this->generateAttribute('name') ?></h1>
-
- <?php if($this->actions): ?>
- <div class="submit_container">
- <?php if ($this->useQuantity): ?>
- <div class="quantity_container">
- <span class="spwn-amount spwn-remove-amount">-</span>
- <label for="quantity_requested_<?= $this->raw['id'] ?>"><?= $GLOBALS['TL_LANG']['MSC']['quantity'] ?>:</label>
- <input type="text" class="text" id="quantity_requested_<?= $this->raw['id'] ?>" name="quantity_requested" placeholder="<?= $this->minimum_quantity ?>" value="<?= \Contao\StringUtil::specialchars(Input::post('quantity_requested')); ?>" maxlength="10">
- <span class="spwn-amount spwn-add-amount">+</span>
- </div>
- <?php endif; ?>
- <?php foreach ($this->actions as $action) echo $action->generate($this->product); ?>
- </div>
- <?php endif; ?>
-
- <?php if ($this->sku): ?>
- <div class="sku" itemprop="sku"><?= $this->generateAttribute('sku') ?></div>
- <?php endif; ?>
-
- <?php if ($this->description): ?>
- <div class="description" itemprop="description"><?= $this->generateAttribute('description') ?></div>
- <?php endif; ?>
-
- {{insert_node::11}}
-
- <?php if ($this->generateAttribute('additionaltext1')): ?>
- <div class="spwn-additional-text">
- <div class="spwn-inner">
- <?php echo $this->generateAttribute('additionaltext1'); ?>
- </div>
- </div>
- <?php endif; ?>
-
- <?php if ($this->generateAttribute('additionaltext2')): ?>
- <div class="spwn-additional-text spwn-bg">
- <div class="spwn-inner">
- <?php echo $this->generateAttribute('additionaltext2'); ?>
- </div>
- </div>
- <?php endif; ?>
-
- <?php if ($this->generateAttribute('additionaltext3')): ?>
- <div class="spwn-additional-text">
- <div class="spwn-inner">
- <?php echo $this->generateAttribute('additionaltext3'); ?>
- </div>
- </div>
- <?php endif; ?>
-
- </div>
- </form>
|