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

@@ -289,7 +289,7 @@ $mainColor = $producer->option_main_color ?: '#ee6f42' ;
],
[
'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',
],
];
@@ -304,10 +304,8 @@ $mainColor = $producer->option_main_color ?: '#ee6f42' ;
}

?>

</nav>


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

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

@@ -54,8 +54,8 @@ $pointSaleModule = PointSaleModule::getInstance();

$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());

?>

Loading…
Cancel
Save