Browse Source

[Boutique] Points de vente : libellé "Points de vente" personnalisé

feature/rotating_product
Guillaume Bourgeois 6 months ago
parent
commit
ec1f69b3fb
2 changed files with 3 additions and 5 deletions
  1. +1
    -3
      producer/views/layouts/main.php
  2. +2
    -2
      producer/views/site/points-sale.php

+ 1
- 3
producer/views/layouts/main.php View File

], ],
[ [
'url' => $this->getUrlManagerProducer()->createUrl(['site/points-sale']), 'url' => $this->getUrlManagerProducer()->createUrl(['site/points-sale']),
'label' => 'Points de vente <span class="label label-default">'.$pointSaleModule->getRepository()->countPointSalesPublic().'</span>',
'label' => $producerModule->getSolver()->getPointSaleWording($producer).' <span class="label label-default">'.$pointSaleModule->getRepository()->countPointSalesPublic().'</span>',
'active' => $this->getControllerAction() == 'site/points-sale', 'active' => $this->getControllerAction() == 'site/points-sale',
], ],
]; ];
} }


?> ?>

</nav> </nav>



<div id="infos-producer"> <div id="infos-producer">
<?php if (!$this->getProducerModule()->hasSpecificDelays($producer) && $producer->order_deadline && $producer->order_delay): ?> <?php if (!$this->getProducerModule()->hasSpecificDelays($producer) && $producer->order_deadline && $producer->order_delay): ?>
<span data-toggle="tooltip" data-placement="bottom" title="Heure limite de commande"> <span data-toggle="tooltip" data-placement="bottom" title="Heure limite de commande">

+ 2
- 2
producer/views/site/points-sale.php View File



$producer = $this->context->getProducerCurrent(); $producer = $this->context->getProducerCurrent();


$this->setTitle('Points de vente');
$this->setPageTitle('Points de vente');
$this->setTitle($producerModule->getSolver()->getPointSaleWording($producer));
$this->setPageTitle($producerModule->getSolver()->getPointSaleWording($producer));
$this->setMeta('description', $producerModule->getSeoGenerator()->generateMetaDescriptionPointsSale()); $this->setMeta('description', $producerModule->getSeoGenerator()->generateMetaDescriptionPointsSale());


?> ?>

Loading…
Cancel
Save