aggiornamento link di acquisto

This commit is contained in:
Giacomo Genobile
2021-11-22 12:51:47 +01:00
parent c69096ae08
commit 408610e667
3 changed files with 10 additions and 3 deletions
@@ -218,7 +218,14 @@ class Default_IndexController extends Zend_Controller_Action
public function shopAction()
{
$shop_urls = [
'primoanno' => "https://cart.adriaticasistemi.it/shop/8391003e59078f96c79c18e0efb24f64/GestioneSpiaggia.it - Primo Anno/600",
'rinnovo' => "https://cart.adriaticasistemi.it/shop/ac1e5ba6ea36f59a727a3e89d3fbc702/GestioneSpiaggia.it - Rinnovo annuale/100"
];
$articolo = $this->_getParam('articolo', 'nuovalicenza');
$this->view->shopUrl = $shop_urls[$articolo];
}
public function downloadsoftwareAction()
@@ -99,7 +99,7 @@
</div>
<!-- Button -->
<a href="#!" class="btn w-100 btn-primary text-white lift ms-auto">
<a href="<?= $this->url(['action' => 'shop','articolo' => 'primoanno'], 'it', true); ?>" class="btn w-100 btn-primary text-white lift ms-auto">
Acquista <i class="fe fe-arrow-right ms-3"></i>
</a>
@@ -163,7 +163,7 @@
</div>
<!-- Button -->
<a href="<?= $this->url(['action' => 'shop'], 'it', true); ?>" class="btn w-100 btn-primary text-white lift ms-auto">
<a href="<?= $this->url(['action' => 'shop','articolo' => 'rinnovo'], 'it', true); ?>" class="btn w-100 btn-primary text-white lift ms-auto">
Acquista <i class="fe fe-arrow-right ms-3"></i>
</a>
@@ -1 +1 @@
<iframe width="100%" height="1800px" src="https://cart.adriaticasistemi.it/shop/1f1a8718e159304300c80fbe6c1660dc/GestioneSpiaggia.it%20Rinnovo%20Annuale/100"></iframe>
<iframe width="100%" height="1250px" src="<?= $this->shopUrl; ?>"></iframe>