Recettes : on attaque le Controller
This commit is contained in:
@@ -15,6 +15,7 @@ use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||
use Thelia\Controller\Admin\BaseAdminController;
|
||||
use Thelia\Core\Event\Content\ContentUpdateEvent;
|
||||
use Thelia\Core\HttpFoundation\Request;
|
||||
use Thelia\Form\BaseForm;
|
||||
use Thelia\Model\ContentI18nQuery;
|
||||
use Thelia\Model\ContentQuery;
|
||||
use Thelia\Tools\URL;
|
||||
@@ -98,4 +99,9 @@ class MainController extends BaseAdminController
|
||||
return new RedirectResponse(URL::getInstance()->absoluteUrl("/admin/content"));
|
||||
}
|
||||
|
||||
|
||||
public function addToCart(Request $request)
|
||||
{
|
||||
$order = $request->getSession()->getOrder();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,8 +76,6 @@ div.entete span b {
|
||||
margin: auto;
|
||||
}
|
||||
.table-steps td.number{
|
||||
background-color: #95c11e;
|
||||
border-radius: 30px;
|
||||
color: white;
|
||||
padding-left: 30px;
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -67,7 +67,7 @@
|
||||
<tr>
|
||||
<td class="cellule-large">{$PRODUCT_LABEL}</td>
|
||||
<td class="cellule-etroite">{$QUANTITY_NEEDED}</td>
|
||||
<td class="cellule-etroite">{$QUANTITY_PROPOSED}</td>
|
||||
<td class="cellule-etroite">{$QUANTITY_PROPOSED}<input type="hidden" id="quantity-{$PSE_ID}" value="{$QUANTITY_PROPOSED}"></td>
|
||||
<td class="cellule-etroite"><input type="checkbox" id="product-{$PSE_ID}" name="selected-product" class="cellule-checkbox"></td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
Reference in New Issue
Block a user