Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function addtoStock() {
- if ($this->request->isAjax ()) {
- $form = $this->addToStockForm ();
- $content = $this->renderWith ( 'ProdForm', array (
- 'Form' => $form
- ) );
- echo "<pre>";
- print_r($content);
- echo "</pre>";
- return json_encode ( array (
- 'title' => _t ( 'Product.ADDPRODUCT', 'Produkt hinzufügen' ),
- 'content' => $content
- ) );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement