No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

79 líneas
3.2 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. <div class="spwn-image-set">
  8. <div class="spwn-image-gallery">
  9. <?= $this->getGallery('images')->generateMainImage() ?>
  10. <?php if($this->hasOptions): ?>
  11. <div class="options">
  12. <?php foreach( $this->options as $arrOption ): echo $arrOption['html']; endforeach; ?>
  13. </div>
  14. <?php endif; ?>
  15. <?= $this->getGallery('images')->generateGallery() ?>
  16. </div>
  17. <?php /* @var \Isotope\Interfaces\IsotopePrice $price */ if ($price = $this->product->getPrice()): ?>
  18. <div class="offer" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
  19. <meta itemprop="priceCurrency" content="<?= \Isotope\Isotope::getConfig()->currency ?>">
  20. <div class="price" itemprop="price" content="<?= \Isotope\Isotope::roundPrice($price->getAmount(1, $this->product->getOptions())) ?>"><?= $this->generatePrice() ?></div><?php if($this->baseprice): ?>
  21. <div class="baseprice"><?= $this->generateAttribute('baseprice') ?></div><?php endif; ?>
  22. </div>
  23. <?php endif; ?>
  24. </div>
  25. <h1 itemprop="name"><?= $this->generateAttribute('name') ?></h1>
  26. <?php if($this->actions): ?>
  27. <div class="submit_container">
  28. <?php if ($this->useQuantity): ?>
  29. <div class="quantity_container">
  30. <span class="spwn-amount spwn-remove-amount">-</span>
  31. <label for="quantity_requested_<?= $this->raw['id'] ?>"><?= $GLOBALS['TL_LANG']['MSC']['quantity'] ?>:</label>
  32. <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">
  33. <span class="spwn-amount spwn-add-amount">+</span>
  34. </div>
  35. <?php endif; ?>
  36. <?php foreach ($this->actions as $action) echo $action->generate($this->product); ?>
  37. </div>
  38. <?php endif; ?>
  39. <?php if ($this->sku): ?>
  40. <div class="sku" itemprop="sku"><?= $this->generateAttribute('sku') ?></div>
  41. <?php endif; ?>
  42. <?php if ($this->description): ?>
  43. <div class="description" itemprop="description"><?= $this->generateAttribute('description') ?></div>
  44. <?php endif; ?>
  45. {{insert_node::11}}
  46. <?php if ($this->generateAttribute('additionaltext1')): ?>
  47. <div class="spwn-additional-text">
  48. <div class="spwn-inner">
  49. <?php echo $this->generateAttribute('additionaltext1'); ?>
  50. </div>
  51. </div>
  52. <?php endif; ?>
  53. <?php if ($this->generateAttribute('additionaltext2')): ?>
  54. <div class="spwn-additional-text spwn-bg">
  55. <div class="spwn-inner">
  56. <?php echo $this->generateAttribute('additionaltext2'); ?>
  57. </div>
  58. </div>
  59. <?php endif; ?>
  60. <?php if ($this->generateAttribute('additionaltext3')): ?>
  61. <div class="spwn-additional-text">
  62. <div class="spwn-inner">
  63. <?php echo $this->generateAttribute('additionaltext3'); ?>
  64. </div>
  65. </div>
  66. <?php endif; ?>
  67. </div>
  68. </form>