Search the Community
Showing results for tags 'productpage'.
-
Hi Dev's, I've got stucked while saving data from product page where i've craeted the field through the module via hookDisplayAdminProductsExtra. And i didn't get an idea to save new field data from the admin product page. So, please help if anyone have solution for this. Thank You.
-
- displayadminproductsextra
- hook
-
(and 3 more)
Tagged with:
-
Hai . I have just started using Prestashop and I am using 1.7. I need to set a max value to the quantity ( input type:number) in front office so that a customer wont be able to purchase a product beyond a limit. I understand a value cannot directly be set to the field in the tpl file ( product_add_to_cart ) and an override might be required. I am not able to achieve this. Can anyone help me??
-
- prestashops
- prestashop1.7
-
(and 3 more)
Tagged with:
-
Goede middag allen, Ik heb een dringende vraag. Ik wil graag bij het invoerveld voor een beschrijving bij een nieuw toe te voegen product, een standaard tekst neerzetten welke mijn werknemers dan kunnen aanpassen. Dus geen placeholder, deze gaat namelijk weg als je op het tekst veld klikt. Maar een opgemaakte tekst welke ze dan alleen hoeven aan te passen/ in te vullen. Ik heb dit geprobeerd in /src/PrestaShopBundle/Form/Admin/Product/ProductInformation.php. Echter laat hij zelfs de toegevoegde placeholder als tekst niet zien, hoe moet ik de tekst toevoegen?: ->add('description', 'PrestaShopBundle\Form\Admin\Type\TranslateType', array( 'type' => 'Symfony\Component\Form\Extension\Core\Type\TextareaType', 'options' => [ 'attr' => array( 'class' => 'autoload_rte', 'placeholder' => 'Testen van de basis', 'counter' => 21844 ), 'constraints' => array( new TinyMceMaxLength(array( 'max' => 21844 )) ), 'required' => false ], 'locales' => $this->locales, 'hideTabs' => true, 'label' => $this->translator->trans('Description', [], 'Admin.Global'), 'required' => false,
- 6 replies
-
- product admin
- productpage
-
(and 1 more)
Tagged with:
-
- 1 reply
-
- theme developer
- theme
-
(and 1 more)
Tagged with:
-
Hallo zusammen! Ich bin relativ neu in der PrestaShop Welt, bin aber in der kurzen Zeit schon ziemlich weit gekommen. Mein Ziel ist es, ein extra Feld auf der Produktseite als HTML-Feld darzustellen (Multilingual). Das funktioniert auch schon soweit gut. Ich füge dieses mittels hook: "hookDisplayAdminProductsMainStepLeftColumnMiddle" dar. Auch die Tabelle product_lang habe ich um das gewünschte Feld erweitert. Mein Problem: das Feld wird nicht in die Datenbank abgelegt. Sollte dies automatisch serialisiert werden, sofern das Feld in der Product.php (Class) erweitert wurde, oder muss ich hier eine eigene Logik abbilden? Ich komme leider überhaupt nicht weiter & dewegen versuche ich hier mein Glück! Vielen Dank im Voraus, LG
- 1 reply
-
- module
- backoffice
-
(and 2 more)
Tagged with:
-
Will be suitable for those who has removed the seen goods from columns and wants to bring them only in a footer of products (where goods in this category there). For a start we need to disconnect the module from excess hook in arrangements of modules (displayleftcolumn и displayrightcolumn). further we come in blockviewed. php ( public_html/modules/blockviewed) and insert this code: public function hookProductFooter($params){return $this->hookRightColumn($params);} we save file and attach the module to the created Hook. Further in the same folder we change blockviewed. tpl and blockviewed. css for files which I have attached (blockviewed1. tpl и blockviewed1. css). further we come in public_html/themes/default-bootstrap/modules/blockviewed and change blockviewed. tpl for file i have attached blockviewed2. tpl. the following step, we come in public_html/themes/default-bootstrap/css/modules/blockviewed and change file blockviewed. css for file i have attached blockviewed2. css. we go to settings of the module and we put for example goods 12. we clean a cache and everything is ready. what turns out as a result: we have 12 seen goods with a slider to the left to the right. blockviewedfiles.zip
-
- productpage
- design
-
(and 3 more)
Tagged with:
-
Hi i'm using 1.5.4.0 I have added a new product (virtual) for a gift card. However, the product are not showed correct in the store. See attached. Normally I have no problems adding new regular products. See shop at www.democratiquesocks.com/shop. Thanks a lot for helping me find this problem. Jacob
-
Hello, I'm new to prestashop but I already developped web site. I want to show The Hookleft in product page. But i can't. I tried to manually call the hook in product.tpl but it does not work. I also tried to manually change the value of $ left_column_size in header.tpl but it had the effect of only display the <div> with this one with nothing in it. I have not found in the back office either Thank you in advance for those who are looking at the issue Mathieu FROEHLY
-
Hi everybody i need help to change the center column width on the product page to 100%. I have disabled the left column an now the space are free. Thank you for support Here the link: http://www.gymorrison.com/en/3-women
-
Hi, I am looking for a module that enables me to add a text block underneath the products on a page. Like this ------- [first standard text block] [product list] [second, optional text block] -------- Free or paid, I'd like a list of optional modules.
- 2 replies
-
- text block
- productpage
-
(and 1 more)
Tagged with:
-
Hi. I'm trying to create an contactform on the productpage for my shop (prestashop 1.5.6.1.) I created an frontcontroller (myfileController.php) and a TPL (myfile.tpl) file. From the file product.tpl I'll include the myfile.tpl. {include file="$tpl_dir./myfile.tpl"} This works, my simple form is showing up on the productpage. How can I add PHP code to my form? It cant be done in the TPL file with the {php} {/php} tags. Result is a blank screen and an error. .... unknown tag "php"' in ... Should this be done in the fontController? Hope anyone can help and give me some tips. Thanks.
- 2 replies
-
- productpage
- contactform
-
(and 1 more)
Tagged with:
-
Hello, Im starting a new webshop and I use the Deapsea 2.0.1 theme. I'm trying to adjust the productpage to fit my needs even more. So far I've come to this result: As you can see there is a big gap underneath the main image. What I would like to achieve is that the information block is directly underneath the image. The short description block is where I want it to be. Also, if possible, I would like to adjust the image thumbnails (when you have more than 1 image attached to a product) to automatically start sliding and pause when hovered over. Does anyone have a idea or possible solution? Many thanks!!
- 2 replies
-
- product
- productpage
- (and 4 more)
-
Hi, I am finding it frustating trying to modify the center of the homepage and the product page - when I change the width for one, the other changes too... However, what I am after is having the center width of the homepage to be 980px (because I removed both left and right columns) and having the product pages to be about 580px because the left and right columns are still there... Help please? Ro
-
Hi, I am developing a module. The module has been hooked into left column and right column and its working fine with that. Now I want to show the module in product deatils page. So for that can someone tell me how to hook my module to the product details page? Any help and suggestions will be really appreciable. My code for leftColumn and rightColumn is like this function hookLeftColumn() { $defaultLanguage = (int)(Configuration::get('PS_LANG_DEFAULT')); global $cookie, $smarty; $value=array(); $result="SELECT status,app_id from "._DB_PREFIX_."storeblocks"; $value=Db::getInstance()->ExecuteS($result); $smarty->assign('array',$value); $smarty->assign('default',$defaultLanguage); return $this->display(__FILE__, 'stores.tpl'); } function hookRightColumn() { return $this->hookLeftColumn(); }
-
Hi all, How can i show, the product upload date, in the product page? I'm using prestashop v 1.4.9.0 Thanks! Regards, Erick
-
Hi all of you, I am desperately trying to have all product categories as links displayed on my product page. It would look as on this page where you can read "Found in: Gadgets & Tools ....." I have found the function "getProductCategories" which should be the right one. The thing is i don't know how to make it work through the product.php, product.tpl and productcontroller.php. I thank you in advance for any help on that topic.
- 13 replies
-
- product
- categories
-
(and 1 more)
Tagged with: