aggiornamento link di acquisto
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user