Jump to content

christian_at_joseph

Members
  • Posts

    8
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by christian_at_joseph

  1. I wondered if the solution of nemo still works in 1.7 (tested in 1.7.3.4) and it kinda does, just the files are at different positions, called differently, I tried the following thing to add a field (and remember this solution is not update proof and the additional fields are not safed in the backoffice): Update contact.html + contact.txt in the theme/mails folder: <span style="color:#333"><strong>Name: {contactname}</strong></span><br /><br /> Add the contactname line to the $var_list array in the file contactform.php located in the modules/contactform folder: $var_list = [ '{order_name}' => '-', '{attached_file}' => '-', '{message}' => Tools::nl2br(stripslashes($message)), '{email}' => $from, '{product_name}' => '', '{contactname}' => Tools::nl2br(stripslashes($contactname)), ]; Add a line to the beginning of the function sendMessage(){ in the same file (contactform.php) $contactname = trim(Tools::getValue('contactname')); Add the following lines to the <section class="form-fields"> part in the file contactform.tpl located in the theme/modules/contactform/views/template/widget folder: <div class="form-group row"> <label class="col-md-3 form-control-label">{l s='Name' d='Shop.Forms.Labels'}</label> <div class="col-md-6"> <input class="form-control" name="contactname" type="text" value="{$contact.contactname}" placeholder="{l s='Ihr Name' d='Shop.Forms.Help'}" > </div> </div> I know it's ugly, but hey, it's a start
  2. the span style description is added in the backoffice to the product description. Select the product -> show source code -> remove it. (at least this was the case with the demo data)
  3. This is depending on the theme. Usually it is enough to add a few lines into the custom.css of your theme folder: "your theme"\assets\css\custom.css like: #description .product-description{ font-family: "Times New Roman", Times, serif; font-size: 24px; } if it is fixed in the product description I would change it to a css class in the product.tpl file: {block name='product_description'} <div class="product-description">{$product.description nofilter}</div> {/block}
  4. news to this topic: the funny thing is, shared basket worked fine without any module after a clean install of 1.7.3.4. It was possible to add a product to the basket, switch to the other domain and add an other product to it. But after taking the shop from a test.subdomain to the main domain this function does not work anymore....(Cache emptied) as usual, anyone any idea?
  5. I had the problem that the module page could not be loaded serveral times, usually it was because of a defective module. Do you have any new installed modules? If yes, rename/delete the folder and see if the module page reappears.
  6. Hi all! I have a Prestashop Version 1.7.2.4 with Multishop activated. The store is used with two domains but displays only some categories in each shop. One shop is running fine, the other requires 3-4 clicks on a product until the product details appear. Usually I get the message product is not available anymore. Anyone any idea what the problem could be? Any ideas? Thx greets Chris
  7. Hi! I use the multishop function of the Prestashop with two different domains. Shared customers and orders are activated. But if I switch from one shop to the other, basket goes from full to empty. Any ideas? Any help is appreciated! Prestashop Version 1.7.2
  8. Hi all In 1.6 it was possible to change the decimal sign manually in the currency properties. In 1.7 this is not possible anymore. It seems like the display of the currencies is handled by "cldr" according to tools.php. Has anyone an idea how to set this manually if the setting is not as it should? Thanks for any ideas greets chris
×
×
  • Create New...