Viewing 30 posts - 1 through 30 (of 33 total)
  • Author
    Posts
  • #709446

    Hi,
    I need the following changes at Woocommerce review-order.php:
    – Productimage (Thumbnail) left of the productdescription
    – Producttitle as link to productdetailpage

    Because Enfold use filters instead woocommerce standard templating i hope you can help me?!

    Thank you and reagrds
    Mike

    #709509

    Hi Mike!

    Can you please post a screenshot showing the changes you would like to make? You can upload your screenshots on imgur.com or Dropbox public folder and post the links here.

    Best regards,
    Yigit

    #709514

    Hi Yigit,

    mmmh was that so incomprehensible? Ok, here the screen…
    http://www.exusu-design.de/_data/wcc.png
    – Productimage (Thumbnail) left of the productdescription
    – Producttitle as link to productdetailpage

    #709941

    Hi Yigit,

    what’s up? Hope you can help me?!

    Best Regards
    Mike

    #710429

    Hi,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Also please provide us admin login.

    Best regards,
    Andy

    #710618

    Hi Andy,

    I can’t show you a site like that, because the elements in question are not in this site (checkout -> review-order.php).
    This is the reason why I need your help! I don’t understand your question. This site you can only see if you put some items to the basket and going to the checkout, the last site of the checkout before you pay (Zahlungspflichtig bestellen) is the site what I mean.

    Best Regards
    Mike

    #711948

    Hi,

    go and edit your product in question. Scroll down and look for short product description (Kurzbschreibung des Produkts). Add your image there.

    Best regards,
    Andy

    #711967

    Hi,

    that can’t be the right way, because then we have at the product detail page two productimages.
    I ask you what is to do instead woocommerce templating because this don’t work with enfold?
    When enfold will work with the regular woocommerce procedure I have no problem with edit
    the review-order.php, but this have with enfold no impact.

    Regards
    Mike

    #711971

    … your support wrote here https://kriesi.at/support/topic/enfold-with-child-theme-woocommerce-templating/

    ” That’s correct, we do not use template files. We use the Woocommerce filters.
    You can find them all in the file I mentioned to customcms.”

    Ok, but then show me please, what I have to do for get the thmbnail and the link into review-order.php.

    #712612

    Hi,

    you could remove the image on product detail page using this code inside Quick CSS field:

    .single-product .wp-caption img {
    display: none;
    }

    Hope this helps!

    Best regards,
    Andy

    #712616

    Hi Andy,

    I don’t want remove this image I want work normal and regular with woocommerce
    and I can’t do that because Enfold don’ let me do this. Please, tell me what I can do
    instead using woocommerce templating – not dirty workarounds!
    And: I m not only ask for the thumbnail, I ask for the productlink too.
    Read my post correctly please – Thank you!

    Regards
    Mike

    #713382

    Hi,

    It’s true that the modification are added as filters and hooks inside a single file but we didn’t add any customization for the review_order.php file. I reviewed the whole thread but there’s not enough info regarding your requests and the screenshot doesn’t explain anything. I’m sorry for the confusion. What do you want to do with the thumbnails and title link in the review order page?

    Best regards,
    Ismael

    #713508

    Hi Ismael,

    I need the Thumbnail exactly at the place what the screenshot (#709514) is showing, also the Link in the title.
    What I will do with this? The Thumbnail is the thumbnail and the link goes to the product detail page.
    I need this because in germany we have to do that when we want don’t go in trouble with law.
    In fact you can’t use woocommerce with enfold in germany for onlineshops.

    Ok, you don’t customize the review_order.php but you make that I can’t do that in the normal way!
    So! Why we have to wrote lines and lines instead you tell me what I have to do please!!

    regards
    Mike

    #715147

    Hi,

    Please create a directory in the child theme folder called “woocommerce” > “checkout”, copy the review-order.php file and then replace it with the following code.

    // http://pastebin.com/umMFvkSn

    Best regards,
    Ismael

    #715578

    Hi Ismael,
    thank you. I do that but nothing happens, the outpu is the same?!

    Best Regards
    Mike

    #715842

    Hi Ismael

    This is funny: I wrote you that Woocommerce templating not work, your buddys wrote that woocommerce templating not work because Enlofd use filters (see reply 711971 of this thread) and you sende me an solution with woocommerce templating?

    Regards
    Mike

    #717359

    Hi,

    I’m very sorry for the confusion. You can actually override the templates as described in the link (https://docs.woocommerce.com/document/template-structure/). However, the theme configures the templates via hooks and filters. Do you have a cache plugin? Make sure that you’re not looking on a cached version of the site. The modification above should create a new column for the product thumbnail. We added this block of codes:

    
    <td class="product-thumb">
                                <?php $thumb = get_the_post_thumbnail_url($_product->id, 'shop_catalog'); ?>
                                <?php
                                    if(!empty($thumb)) {
                                        echo "<img src='{$thumb}' width='80px' height='100px'/>";
                                    }
                                ?></td>
    

    Best regards,
    Ismael

    #720978

    Hi Ismael,

    I don’t have an cache plugin and I try exactly what the link describe – before I open an ticket here!
    And it doesn’t matter what I do – nothing change in review-order.php. Funny is that the page before
    (Cash) have an column with productimages! Ca you please check this, it is verry important for thr
    german market – please!

    Best regards
    Mike

    #722318

    Hi,

    It is actually working. Please add some products then view the checkout page.

    // https://www.feentueren.de/kasse/

    Screenshot. http://i.imgur.com/7M16Fab.png

    Best regards,
    Ismael

    #722346

    Hi Ismael,

    yes, this is what I wrote in my last post: “Funny is that the page before (Cash) have an
    column with productimages!”, but this is the page before the page what I mean.
    Klick on /kasse/ the button in the left bottom “Bestellung abschicken”, and this is the
    page what I mean.

    Thank you so mutch, that you build this in “Kasse”, it is not wrong and can stay there,
    but we need this also at the next page – this is what I wrote all the time “review-order.php”.
    And we need at this page the producttitle (it the first line in the column “PRODUKT”)
    as link to the correspondingly productdetailpage.

    Maybe you can tell me what I can copy from your fix to review-order.php?

    Thank you again and best regards
    Mike

    #722993

    Hi!

    I’m sorry but I’m a bit confused with your last post. If you want to create another column, look for this code.

    <th class="product-name"><?php _e( 'Image', 'woocommerce' ); ?></th>
                <th class="product-name"><?php _e( 'Product', 'woocommerce' ); ?></th>
                <th class="product-total"><?php _e( 'Total', 'woocommerce' ); ?></th>
    

    I added the “Image” column there. Just copy the pattern and then create rows (td) inside the loop. Example:

    <td class="product-thumb">
                                <?php $thumb = get_the_post_thumbnail_url($_product->id, 'shop_catalog'); ?>
                                <?php
                                    if(!empty($thumb)) {
                                        echo "<img src='{$thumb}' width='80px' height='100px'/>";
                                    }
                                ?></td>
    

    Regards,
    Ismael

    #723364

    Hi Ismael,

    no, I need exactly your column, but in an other page than “kasse”.
    That is what I want to explain you – in “kasse” it is ok too, but originally I need this column in the page *after* “kasse”.

    Thank you and reagrds
    Mike

    #724141

    Hi,

    Thank you for the update. Please modify the templates > order > order-details.php and the order-details-item.php file. In the order-details.php file, look for this code:

    
    <th class="product-name"><?php _e( 'Product', 'woocommerce' ); ?></th>
    <th class="product-total"><?php _e( 'Total', 'woocommerce' ); ?></th>
    

    Above, those lines, add this one:

    
    <th class="product-thumb"><?php _e( 'Image', 'woocommerce' ); ?></th>
    

    Edit the order-details-item.php, look for this code:

    
    <tr class="<?php echo esc_attr( apply_filters( 'woocommerce_order_item_class', 'order_item', $item, $order ) ); ?>">
    

    Below, add the image markup:

    
    <td class="product-thumb">
                                <?php $thumb = get_the_post_thumbnail_url($item['product_id'], 'shop_catalog'); ?>
                                <?php
                                    if(!empty($thumb)) {
                                        echo "<img src='{$thumb}' width='80px' height='100px'/>";
                                    }
                                ?></td>
    

    Best regards,
    Ismael

    #724267

    Hi Ismael,

    soryy, I do that at the Stagingsystem and it don’t work!
    Try it: http://testsystem.feentueren.de

    I use /wp-content/themes/feentueren/woocommerce/order/order-details.php and /wp-content/themes/feentueren/woocommerce/order/order-details.php

    What is wrong?

    Best Regards
    Mike

    #724269

    Send you some private data…

    #725160

    Hey!

    I use /wp-content/themes/feentueren/woocommerce/order/order-details.php and /wp-content/themes/feentueren/woocommerce/order/order-details.php

    Please check the instructions carefully. You need to edit two template files. One is the “order-details.php file and the other is the “order-details-item.php” file. And don’t forget to remove the browser cache or hard refresh before checking the page.

    Regards,
    Ismael

    #725229

    Hi Ismael,

    sure, I am edit both files, I only wrote wrong in my post. And yes, I know that I have to refresh the cache
    but it *don’t* work. I send you all private data that you need, why you don’t show me the solution,
    it seems easy for you?!
    Thank you and regards
    Mike

    #725246

    This is really bad! I am waiting for an solution since 5 Weeks! I try all suggestions you made an nothing happens!
    And then Ismael, you will tell me it is all so easy and the only thing is that I forget to refresh the cache –
    I think you will kidding me? But I can’t laugh because this is many time for me – 5 Weeks!
    Please, fix this problem. It is good for you too because without this fix your shoptemplates are not right for the german market.

    #727362

    Hi,

    We are very sorry for the late response. We added the modifications in the child theme folder.

    Best regards,
    Ismael

    #727496

    Hi Ismael,

    I don’t know what you added in the child theme folder, but I can’t see any productimages at
    this Checkoput page?! -> See Screenshot: http://www.exusu-design.de/_data/screen02.png

    Regards
    Mike

Viewing 30 posts - 1 through 30 (of 33 total)
  • You must be logged in to reply to this topic.