Jump to content

Michi001

Members
  • Posts

    63
  • Joined

  • Last visited

Posts posted by Michi001

  1. The solution is to translate the address- and/or registration fields in the classic theme and NOT in your own theme (if you use a third party Template) !

    go to:

    International -> translation -> Template

    choose classic theme

    choose your language

     

    now you can search the wanted address or registration field and translate it how you need it.

  2. On 3/15/2019 at 6:57 PM, carlosweblogica said:

    Hello,

    This solution seems outdated, I'm using Presta 1.7 and I cannot find "Field name translations" in the translations page dropdown.

    Can you indicate me where I can modify this now using back office, Thanks.

    Hi Carlos,

    did you find a solution for 1.7 ?

    we use 1.7.7.1 and need to translate some Address form fields 

     

    Thanks

    Michael

  3. Hi guys,

    i use PS 1.7.7.1

    I have made some small changes in the footer.tpl and added a new text line.

    Now i want to open the translations menu to translate the new text and i get the following:

    Oops... looks like an unexpected error occurred

    Compile Error: Declaration of Symfony\Component\EventDispatcher\ImmutableEventDispatcher::dispatch($event) must be compatible with Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch($eventName, ?Symfony\Component\EventDispatcher\Event $event = NULL)

    [Symfony\Component\Debug\Exception\FatalErrorException 0]

    Screenshot attached.

    any Idea what is wrong? Can i translate this in the database also? 

     

    Bildschirmfoto 2021-07-15 um 12.35.26.png

  4. Hi Leute,

    Ich benutze PS 1.7.7.1 und habe ein ähnliches Problem, vor allem im google Merchant Center.

    Ich hatte vor einigen Wochen als Test die Produkte von google selbst crawlen lassen. Dabei hatte ich keine Fehler angezeigt bekommen.

    Nun habe ich ein kostenpflichtiges Plugin installiert, welches die Feeds für das google Merchant Center erstellt.

    Die Produkte werden fehlerfrei eingelesen und Tage später können -angeblich- bei einigen Produkten die Mobile Seite und/oder die Desktop Seite nicht aufgerufen werden. Wieder 2-3 Tage später ist dies bei einigen Produkten wieder möglich und dafür werden dann bereits freigegebene Produkte aus demselben Grund gesperrt...

    Also ein hin und her. Google schreibt, dass in der robots.txt die Einträge für googlebot und googlebot-image fehlen. Dies kann ich jedoch nicht verstehen, denn auch davor waren diese Einträge nicht vorhanden und die Produkte konnten trotzdem gelesen werden.

    Macht es Sinn, neben den empfohlenen zusätzlichen Zeilen auch die folgenden noch hinzuzufügen? Also quasi so:

    User-agent: Googlebot
    User-agent: Googlebot-image
    User-agent: *
    
    # Allow Directives
    Allow: */modules/*.css
    Allow: */modules/*.js
    Allow: */modules/*.png
    Allow: */modules/*.jpg
    Allow: /js/jquery/*
    Allow: */themes/*/cache/*.css
    Allow: */themes/*/cache/*.js
    Allow: */themes/*/css/*.svg
    Allow: */themes/*/css/*.ttf
    Allow: */themes/*/css/*.woff
    Allow: */themes/*/css/*.woff2
    Allow: */themes/*/js/*.js
    # Private pages
    Disallow: /*?order=
    Disallow: /*?tag=
    usw...

     

  5. i know this topic is a little bit older, but if someone need the solution:

    You need to insert the following lines manually in the robots.txt:

    User-agent: Googlebot
    Disallow:
    
    User-agent: Googlebot-image
    Disallow:

     

  6. On 1/14/2021 at 10:24 AM, Jonker TechSupport said:

    Hello,

    I have this problem as well, very annoying.
    I use the default classic theme, as I understand it I need to change the 3 files you mentioned, but could you complete your last post to also contain the changes you need to  make?

    Thanks a lot!

    With kind regards,

     

    Hi Jonker,

    the changes are a bit complicated to describe, as it depends on the specifications of the .tpl files.

    Please upload the following files from you, then I will look at them and change them.

    • <your template>/templates/catalog/_partials/productlist.tpl
    • <your template>/templates/catalog/_partials/miniatures/product_listgrid.tpl
    • <your template>/templates/catalog/_partials/product-prices.tpl
    • <your template>/templates/catalog/product.tpl

    which Version of PS are you using?

  7. 31 minutes ago, Leo @ Prestachamps said:

    it is in folder /classes/Mail.php

    I have found it!

    so if i understand right i need to change the line

    $subject = '[' . strip_tags($configuration['PS_SHOP_NAME']) . '] ' . $subject;

    to

    $subject = $subject;

    ?

    regards Michael

  8. 1 hour ago, Leo @ Prestachamps said:

    If you want to remove for all mails then you can create an override for the Mail.php class, override function send( 

    The subject line is being created in the send function, in this line:

     $subject = '[' . strip_tags($configuration['PS_SHOP_NAME']) . '] ' . $subject;

     

    Hi Leo,

     

    yes, i want to remove the website name from all email subjects.

    Where can i find the mail.php class? In which Folder?

    I have no experience with override. Maybe it is easier to change the mail.php

    regards

    Michael

  9. Hi guys,

    i´m a little bit confused 🤪

    I want to show the stock qty in the list view.

    I try to place the following code in different lines in the product-listgrid.tpl but i get no result. What is wrong?

    Code from product-details.tpl:

    {block name='product_quantities'}
          {if $product.show_quantities}
            <div class="product-quantities">
              <label class="label">{l s='In stock' d='Shop.Theme.Catalog'}</label>
              <span>{$product.quantity} {$product.quantity_label}</span>
            </div>
          {/if}
        {/block}

    My product-listgrid.tpl:

    {**
     * 2007-2017 PrestaShop
     *
     * NOTICE OF LICENSE
     *
     * This source file is subject to the Open Software License (OSL 3.0)
     * that is bundled with this package in the file LICENSE.txt.
     * It is also available through the world-wide-web at this URL:
     * http://opensource.org/licenses/osl-3.0.php
     * If you did not receive a copy of the license and are unable to
     * obtain it through the world-wide-web, please send an email
     * to [email protected] so we can send you a copy immediately.
     *
     * DISCLAIMER
     *
     * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
     * versions in the future. If you wish to customize PrestaShop for your
     * needs please refer to http://www.prestashop.com for more information.
     *
     * @author    PrestaShop SA <contact@prestashop.com>
     * @copyright 2007-2017 PrestaShop SA
     * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
     * International Registered Trademark & Property of PrestaShop SA
     *}
    
    {block name='product_miniature_item'}
    <div class="product-miniature js-product-miniature" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}" itemscope itemtype="http://schema.org/Product">
    	  <div class="thumbnail-container">
    		{block name='product_thumbnail'}
    		  <a href="{$product.url}" class="thumbnail product-thumbnail">
    			<img
    			  src = "{$product.cover.bySize.home_default.url}"
              alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
    			  data-full-size-image-url = "{$product.cover.large.url}"
    			>
    			{hook h="displayCzHoverImage" id_product=$product.id_product home='home_default' large='large_default'}
    		  </a>
    		{/block}
    			
    		{block name='product_flags'}
    		  <ul class="product-flags">
    			{foreach from=$product.flags item=flag}
    			  <li class="{$flag.type}">{$flag.label}</li>
    			{/foreach}
    		  </ul>
    		{/block}
    		
    		
    		<div class="outer-functional">
    			<div class="functional-buttons">
    				
    				{hook h='displayProductListFunctionalButtons' product=$product}
    				{* {block name='quick_view'}
    				<a href="#" class="quick-view" data-link-action="quickview">
    					<i class="material-icons search">&#xE417;</i> {l s='Quick view' d='Shop.Theme.Actions'}
    				</a>
    				{/block} *}
    				<div class="product-actions">
    					<form action="{$urls.pages.cart}" method="post" class="add-to-cart-or-refresh">
    						<input type="hidden" name="token" id="tokenId" value="{$static_token}">
    						<input type="hidden" name="id_product" value="{$product.id}" class="product_page_product_id">
    						<input type="hidden" name="id_customization" value="0" class="product_customization_id">
    						<input type="hidden" name="qty" value="1">
    						<button class="btn btn-primary add-to-cart" data-button-action="add-to-cart" type="submit" {if $product.availability == 'unavailable'}disabled{/if}>
    							<span>{l s='Add to cart' d='Shop.Theme.Actions'}</span>
    						</button>
    					</form>
    				</div>
    			</div>
    		</div>
     	</div>
        <div class="product-description">
          {block name='product_name'}
            <h3 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:30:'...'}</a></h3 >
          {/block}
    	   
    	  {block name='product_price_and_shipping'}
    		{if $product.show_price}
    		  <div class="product-price-and-shipping">
    			{if $product.has_discount}
    			  {hook h='displayProductPriceBlock' product=$product type="old_price"}
    
    			  <span class="regular-price">{$product.regular_price}</span>
    			  {if $product.discount_type === 'percentage'}
                      <span class="discount-percentage discount-product">{$product.discount_percentage}</span>
                    {elseif $product.discount_type === 'amount'}
                      <span class="discount-amount discount-product">{$product.discount_amount_to_display}</span>
                    {/if}
    			{/if}
    
    			{hook h='displayProductPriceBlock' product=$product type="before_price"}
    
    			<span itemprop="price" class="price">{$product.price}</span>
    
    			{hook h='displayProductPriceBlock' product=$product type='unit_price'}
    
    			{hook h='displayProductPriceBlock' product=$product type='weight'}
    		  </div>
    		{/if}
    	  {/block}
    	 {block name='product_reviews'}
            {hook h='displayProductListReviews' product=$product}
          {/block}
    		{block name='product_description_short'}
    		  <div class="product-detail" itemprop="description">{$product.description_short nofilter}</div>
    		{/block}
    		
    		<div class="highlighted-informations{if !$product.main_variants} no-variants{/if} hidden-sm-down">
    	
    		  {block name='product_variants'}
    			{if $product.main_variants}
    			  {include file='catalog/_partials/variant-links.tpl' variants=$product.main_variants}
    			{/if}
    		  {/block}
    		  {*Show product stock qty*}
    		  {block name='product_quantities'}
          		{if $product.show_quantities}
            		<div class="product-quantities">
              		<label class="label">{l s='In stock' d='Shop.Theme.Catalog'}</label>
              		<span>{$product.quantity} {$product.quantity_label}</span>
            		</div>
          		{/if}
        	  {/block}
    		  {block name='product_availability'}
                <span class="product-availability">
                  {if $product.show_availability && $product.availability_message}
                    {if $product.availability == 'available'}
                      <span class="product-available">
    				  <i class="material-icons">&#xE5CA;</i>
                    {elseif $product.availability == 'last_remaining_items'}
                      <span class="product-last-items">
    				  <i class="material-icons">&#xE002;</i>
                    {else}
    				  <span class="product-unavailable">
                      <i class="material-icons">&#xE14B;</i>
                    {/if}
                    {$product.availability_message}
    				</span>
                  {/if}
                </span>
              {/block}
    		</div>
    	</div>
    </div>
    {/block}

    thanks for your help.

    regards

    Michael

  10. 13 hours ago, Jonathandavis said:

    Also ich habe mehr als 10 Jahre Erfahrung mit Orgamax. Wenn du was wissen willst, einfach mal posten.

    Hi Jonathan,

    Danke für Dein Angebot. Ich habe mich nun auch für Orgamax entschieden! Obwohl ich bekennender Apple-Mac Fan bin, habe ich auf meinem Mac-mini Server über Virtualbox Win 10 Prof installiert und darauf OrgaMAX. Über den integrierten Remote Desktop und mithilfe der Microsoft Remote Desktop App für Mac OS, kann ich super darauf zugreifen, ohne meinen Hauptrechner mit Windows zu "belasten". 

    Nun geht es mit der Einrichtung los... Prestashop habe ich bereits verknüpft. 

    Meine Frage nun zum Anfang: Wie hast Du das mit den Kategorien und den Eigenschaften gemacht? in Orgamax angelegt und dann mit dem Shop verknüpft? Oder kann ich die Kategorien und Eigenschaften aus dem Shop in Orgamax importieren?  

    Kann man ja auch alles nachlesen, nur mich interessiert wie es in der Praxis am besten ist.

    Danke für Deine Antwort.

    lg und bleib gesund

  11. On 12/2/2020 at 10:36 PM, Jonathandavis said:

     

    Bist Du jetzt wieder zurück zu Orgamax? Ist halt ein Windows Programm und ich benutze Apple Mac´s bei mir im Büro. Wenn, dann müsste ich über Virtualbox eine Windows Instanz installieren... hatte Orgamax auch schon darüber getestet... Ist in der tat nicht schlecht, jedoch stellt sich die Frage, wie ich es auf mehreren Mac´s laufen lassen könnte.. 

  12. Hi,

    nochmal für alle, die ebenso dieses Problem lösen müssen:

    Wir haben nun alle Einstellungen soweit erfolgreich erstellen können. Aktuell haben wir "nur" noch 2 offene Hinweise: "aggregateRating" und "review". Da brennt jetzt nichts an. Soweit ich das verstanden habe, sollte man hier ein Bewertungsmodul installieren, welches dann diese Informationen liefern kann... 

    Im Endeffekt mussten wir 3 Dateien Bearbeiten:

    1. <your template>/templates/catalog/_partials/productlist.tpl
    2. <your template>/templates/catalog/_partials/miniatures/product_listgrid.tpl
    3. <your template>/templates/catalog/_partials/product-prices.tpl

    Falls jemand Fragen haben sollte, einfach melden.

    lg und bleibt gesund!

     

    Bildschirmfoto 2020-12-02 um 10.02.38.png

  13. 14 hours ago, Peter Liska said:

    You can test your url here: Google Test Rich Results

    Hi,

    i have tested our Shop in the google Test and it seams we have solved most of our Problems. There are only 2 Warnings left: "aggregateRating" and "review" . This is not dangerous and as i understand we need to install a review Module for Prestashop to get these informations. But we will wait for that now.

    But for all users who have the same Problem to solve: We need to edit 3 different Files:

    1. <your template>/templates/catalog/_partials/productlist.tpl
    2. <your template>/templates/catalog/_partials/miniatures/product_listgrid.tpl
    3. <your template>/templates/catalog/_partials/product-prices.tpl

    about truncate: i Know this is nice for our Template but not perfect for google. We will change this also in the next days.

    If anyone has questions, please ask.

    Bildschirmfoto 2020-12-02 um 10.02.38.png

  14. 10 minutes ago, arcadeclassic said:

    Hi,

    was hast du denn in der product_listgrid.tpl geändert? Würde das auch gerne ausprobieren.
    Vielen lieben Dank.

    Hi,

     

    1. über der Zeile

    <div class="thumbnail-container">

    alles mit dem ersetzen:

    {block name='product_miniature_item'}
    		<div itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
      		{if isset($position)}<meta itemprop="position" content="{$position}" />{/if}
    		<article class="product-miniature js-product-miniature" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}" itemscope itemtype="http://schema.org/Product">

    2. unter dem code

    {block name='product_price_and_shipping'}
    		        {if $product.show_price}
    		          <div class="product-price-and-shipping">

    das hier einfügen:

    <div itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="invisible">
                    		<meta itemprop="priceCurrency" content="{$currency.iso_code}" />
                    		<meta itemprop="price" content="{$product.price_amount}" />
    						<meta itemprop="url" content="{$product.url}" />
    						<link itemprop="availability" href="{$product.seo_availability}" />
                  		</div>

    3. am Ende der Datei bitte noch den Block mit 

    {/block}

    abschliessen.

     

  15. 6 minutes ago, Peter Liska said:

    This is true. (but NOT for latest actualized theme versions)

    You have to edit this. I forgot to mention it.

     

     

    Hi Peter,

    thanks for your kind information and help! It seams i have an old version of template. I do not have the file _partials/productlist.tpl in my template folder. So i need to edit the product-listgrid.tpl file with additional informations... 

    Attached the Screenshot from google with the Warnings. Maybe can you help me where i need to place the Code in the product-listgrid.tpl to solve the warnings?

    I´m not a coder just a simple user 😃

    Attached also my product_listgrid.tpl File.

    Bildschirmfoto 2020-11-26 um 15.18.09.png

    product-listgrid.tpl

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More