25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

49 satır
2.6 KiB

  1. <form id="<?= $this->formId; ?>" name="iso<?= rand(); ?>" method="post" enctype="<?= $this->enctype; ?>">
  2. <div class="formbody" itemscope itemtype="http://schema.org/Product">
  3. <input type="hidden" name="FORM_SUBMIT" value="<?= $this->formSubmit; ?>">
  4. <input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}">
  5. <input type="hidden" name="AJAX_PRODUCT" value="<?= $this->product_id; ?>">
  6. <input type="hidden" name="AJAX_MODULE" value="<?= $this->module_id; ?>">
  7. <h3 itemprop="name"><?php if ($this->href): ?><a href="<?= $this->href; ?>" title="<?= $this->label_detail; ?>"><?php endif; ?><?= $this->highlightKeywords($this->generateAttribute('name')); ?><?php if ($this->href): ?></a><?php endif; ?></h3>
  8. <?= $this->getGallery('images')->generateMainImage(); ?>
  9. <?php if ($this->sku): ?>
  10. <div class="sku" itemprop="sku"><?= $this->generateAttribute('sku'); ?></div><?php endif; if ($this->teaser): ?>
  11. <div class="teaser"><?= $this->highlightKeywords($this->generateAttribute('teaser')); ?></div><?php endif; ?>
  12. <?php /* @var \Isotope\Interfaces\IsotopePrice $price */ if ($price = $this->product->getPrice()): ?>
  13. <div class="offer" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
  14. <meta itemprop="priceCurrency" content="<?= \Isotope\Isotope::getConfig()->currency ?>">
  15. <?php if ($this->href): ?><a href="<?= $this->href; ?>" title="<?= $this->label_detail; ?>"><?php endif; ?>
  16. <div class="price" itemprop="price" content="<?= \Isotope\Isotope::roundPrice($price->getAmount(1, $this->product->getOptions())) ?>"><?= $this->generatePrice(); ?></div><?php if($this->baseprice): ?>
  17. <div class="baseprice"><?= $this->generateAttribute('baseprice'); ?></div><?php endif; ?>
  18. <?php if ($this->href): ?></a><?php endif; ?>
  19. </div>
  20. <?php endif; ?>
  21. <?php if ($this->href): ?>
  22. <div class="details"><a href="<?= $this->href; ?>" title="<?= $this->label_detail; ?>"><?= $this->label_detail; ?></a></div>
  23. <?php endif; ?>
  24. <?php if($this->actions): ?>
  25. <div class="submit_container">
  26. <?php if($this->hasOptions): ?>
  27. <div class="options">
  28. <?php foreach( $this->options as $arrOption ): echo $arrOption['html']; endforeach; ?>
  29. </div>
  30. <?php endif; ?>
  31. <?php if ($this->useQuantity): ?>
  32. <div class="quantity_container">
  33. <label for="quantity_requested_<?= $this->raw['id']; ?>"><?= $GLOBALS['TL_LANG']['MSC']['quantity']; ?>:</label>
  34. <input type="text" class="text" id="quantity_requested_<?= $this->raw['id']; ?>" name="quantity_requested" placeholder="<?= $this->minimum_quantity; ?>" maxlength="10">
  35. </div>
  36. <?php endif; ?>
  37. <?php foreach ($this->actions as $action) echo $action->generate($this->product); ?>
  38. </div>
  39. <?php endif; ?>
  40. </div>
  41. </form>