Forum Replies Created

Viewing 30 posts - 1 through 30 (of 58 total)
  • Author
    Posts
  • addon to the question above: is it also possible to show the buttons (ad to basket and show more) alway and not just at mouseover?

    THNX
    Tom

    in reply to: Do not display woocommerce pages in blog archives #238253

    Thank you – that works!

    may this goes too far for support, but I found this description in wp codex for wp_list_pages as well:
    meta_key
    (string) Only include the Pages that have this Custom Field Key (use in conjunction with the meta_value field).
    meta_value
    (string) Only include the Pages that have this Custom Field Value (use in conjunction with the meta_key field).

    but I did not find an code example to reverse this function.
    I think, it would be very pracitical for me to use a custom key/value pair like key=add2pagelist value=0 (or 1) in a pages custom_fields section and have them excluded programatically in wp_list_pages.
    The reason for it is, that I have some pages, like the home page and some pages where I want to do content experiments, which are subject to change frequently or are avaiable in some different versions, so I like to avoid that I have to go always to template-archives.php and exclude/include pages by numbers rahter then doing it directly in the backend on page level.
    Hope I wasn’t to unclear with that description?

    Thanks for help and suggestions
    Tom

    in reply to: Do not display woocommerce pages in blog archives #237993

    Hi Devin,

    meanwhile I found a workarround and could dissable it.
    I found in the themes folder template-archives.php where I dissabled the section between lines 143-163 > “Display pages, categories and month archives”
    there are 3 columns generated, the first one is wp_list_pages which is not only listing my “content pages” but also “view order” “thank you page” etc.
    is it possible to only remove the woocommerce related pages from this list?

    Thank you
    Tom

    in reply to: Replete contact form change subject #166126

    Ok, seems to be a text from 2 ttranslations “new message” and “sent by…”

    Is there a way to put the subject which the customer provides into the mail subject instead of having those system subject in it?

    Thank you
    Tom

    in reply to: Return-Path from the contact form #134489

    pardon, no way to an update!

    15min. yeah great, if there are no other software at all.

    I’ve been working long time to get the shop running, inbetween there where updates to woo, to wp, to other plugins and to replete etc. none of any updates where acomplished in 15min ever – by the way, I documented my changes very well.

    just want to get this return-path into that script !!!

    thanks

    Tom

    in reply to: Return-Path from the contact form #134486

    Hi Kriesi,

    actually there are too much mods done and to much other projects in the pipeline that an theme update is not possilble at least for the next three month.

    I also asked my provider for help and he suggested to modify something here at lines 514 & 524:

    /wp-content/themes/replete/framework/php/class-form-generator.php

    do you may have an suggestion how I could change it to get the sender into return-path?

    Thanks a lot

    Tom

    in reply to: Facebook Conversion Pixel #128093

    after further invetigation I found the right place where to integrate the code. Does not make any sense to put it somewhere into header or footer of course because we want to check successfull conversions only. It have to go into the thank you page of the woocommerrce template (thankyou.php). So the first step is done and in facebook ad manager the status turns into “active” now.

    The only thing I have to do ist to get the conversion value into it, but I do not have the knowledge to do it.

    May someone can help me to do it.

    What I see in the thankyou.php is this code somewhere at line 49: “get_formatted_order_total()”, I suggest, here I have the order ammount in it which I’m looking for!? And in the facebook java script I have a line “fb_param.value = ’0.00′;” How can I get the order total ammount into it with the right format???

    Here the complete thankyou.php code with the facebook javascript already added:

    <?php
    /**
    * Thankyou page
    *
    * @author WooThemes
    * @package WooCommerce/Templates
    * @version 2.0.0
    */

    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

    global $woocommerce;

    if ( $order ) : ?>

    <?php if ( in_array( $order->status, array( 'failed' ) ) ) : ?>

    <p><?php _e( 'Unfortunately your order cannot be processed as the originating bank/merchant has declined your transaction.', 'woocommerce' ); ?></p>

    <p><?php
    if ( is_user_logged_in() )
    _e( 'Please attempt your purchase again or go to your account page.', 'woocommerce' );
    else
    _e( 'Please attempt your purchase again.', 'woocommerce' );
    ?></p>

    <p>
    <a href="<?php echo esc_url( $order->get_checkout_payment_url() ); ?>" class="button pay"><?php _e( 'Pay', 'woocommerce' ) ?></a>
    <?php if ( is_user_logged_in() ) : ?>
    <a href="<?php echo esc_url( get_permalink( woocommerce_get_page_id( 'myaccount' ) ) ); ?>" class="button pay"><?php _e( 'My Account', 'woocommerce' ); ?></a>
    <?php endif; ?>
    </p>

    <?php else : ?>

    <p><?php _e( 'Thank you. Your order has been received.', 'woocommerce' ); ?></p>

    <ul class="order_details">
    <li class="order">
    <?php _e( 'Order:', 'woocommerce' ); ?>
    <strong><?php echo $order->get_order_number(); ?></strong>
    </li>
    <li class="date">
    <?php _e( 'Date:', 'woocommerce' ); ?>
    <strong><?php echo date_i18n( get_option( 'date_format' ), strtotime( $order->order_date ) ); ?></strong>
    </li>
    <li class="total">
    <?php _e( 'Total:', 'woocommerce' ); ?>
    <strong><?php echo $order->get_formatted_order_total(); ?></strong>
    </li>
    <?php if ( $order->payment_method_title ) : ?>
    <li class="method">
    <?php _e( 'Payment method:', 'woocommerce' ); ?>
    <strong><?php echo $order->payment_method_title; ?></strong>
    </li>
    <?php endif; ?>
    </ul>
    <div class="clear"></div>

    <script type="text/javascript">
    var fb_param = {};
    fb_param.pixel_id = 'XXXXXXX';
    fb_param.value = '0.00';
    fb_param.currency = 'EUR';
    (function(){
    var fpw = document.createElement('script');
    fpw.async = true;
    fpw.src = '//connect.facebook.net/en_US/fp.js';
    var ref = document.getElementsByTagName('script')[0];
    ref.parentNode.insertBefore(fpw, ref);
    })();
    </script>
    <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/offsite_event.php?id=XXXXXXX&value=0&currency=EUR" /></noscript>

    <?php endif; ?>

    <?php do_action( 'woocommerce_thankyou_' . $order->payment_method, $order->id ); ?>
    <?php do_action( 'woocommerce_thankyou', $order->id ); ?>

    <?php else : ?>

    <p><?php _e( 'Thank you. Your order has been received.', 'woocommerce' ); ?></p>

    <?php endif; ?>

    Thank you for helping me

    Tom

    in reply to: Facebook Conversion Pixel #128091

    But I’d like to get also the conversion value into fb_param.value = ’0.00′; here it is the whole script:

    <script type="text/javascript">
    var fb_param = {};
    fb_param.pixel_id = 'XXXXXXXXX';
    fb_param.value = '0.00';
    fb_param.currency = 'EUR';
    (function(){
    var fpw = document.createElement('script');
    fpw.async = true;
    fpw.src = '//connect.facebook.net/en_US/fp.js';
    var ref = document.getElementsByTagName('script')[0];
    ref.parentNode.insertBefore(fpw, ref);
    })();
    </script>
    <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/offsite_event.php?id=XXXXXXXX&value=0&currency=EUR" /></noscript>

    Thank you

    Tom

    in reply to: avoid image cropping on category pages #127136

    ok, I try this one, but I still can not find out for which of the image sizes I have to turn off cropping, is it just enough with this one: shop_catalog ?

    sorry, it seems a bit complicated to me

    Thank you

    Tom

    in reply to: avoid image cropping on category pages #127134

    PS: tried it for $avia_config in my testsystem and regenerating thumnails drops failures like this for each image:

    function (){if(a){var t=a.length;(function r(t){v.each(t,function(t,n){var i=v.type(n);i===”function”?(!e.unique||!c.has(n))&&a.push(n):n&&n.length&&i!==”string”&&r(n)})})(arguments),i?o=a.length:n&&(s=t,l(n))}return this}

    in reply to: shortcuts instead of content in search results #126342

    Thank you Devin, worked!

    in reply to: cart menu bar zero after woo upgrade #125577

    Hi Ismael,

    these changes are already done in my woocommerce-mod.js with just a little difference as in the link you posted above:

    setTimeout(function(){ subtotal.html(subtotal_new.html() + taxtext); }, 500);

    the other mentioned changes where already inside similar.

    it came with woo 2.0.12 which I implemeted just these days

    any idea?

    Thank you

    Tom

    in reply to: Image Removal #120536

    Hi Ismael,

    I want to achieve somethin simillar: On a product listings page of a certain category I also want to hide this category image, I’ve done it this way

    .tax-product_cat .slideshow_container.slide_container_big {
    display: none;
    }

    But I would like to have them still displayed on main category pages like so:

    I have i.e. a main category “Bags” in my shop. In woo settings I configured to only show the subcategories. On this page I would like to display the category image.

    On the sub categories I don’t want them to display above the product listings, which I achieved with the above css.

    How can I make the category image still appear on the main category page?

    Thanks a lot!

    Tom

    Hi Devin,

    thank you!

    It helped for the add to cart button but not for the others below:

    * sku, category and reset selection text is still overlapping

    * also below (see previous screenshot) in those tabs the “Produktbeschreibung” does not scale so it ends up with “Produktbeschrei” :)

    Thanks again

    Tom

    in reply to: locally hosted webfont #122483

    Hi Dude,

    thanks, but it does not work.

    I have added following code to my custom.css and made the font files available in _root_/font/ directory:

    @font-face {
    font-family: 'salsaregular';
    src: url('/font/salsa-regular-webfont.eot');
    src: url('/font/salsa-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('/font/salsa-regular-webfont.woff') format('woff'),
    url('/font/salsa-regular-webfont.ttf') format('truetype'),
    font-weight: normal;
    font-style: normal;
    }

    h1, h2, h3, h4, h5, h6, tr.pricing-row td, #top .portfolio-title, .callout .content-area, .avia-big-box .avia-innerbox{
    font-family:'salsaregular', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    I switched to “no custom font”.

    I tested if the font is available within this url domain.com/font/… it works

    Also, I copied the font dir to replete/css … did not help

    In source I checked a header and the font-family was applied correctly.

    But the Font still does not display.

    Any idea, what I missed?

    Thank you

    Tom

    OK, then I have a new question – sorry.

    What is the recomended origin size I should upload my featured images?

    In functions.php the fullsize/featured image is configured with 1500×430. When I upload the same image with 1500px width it is still too large on my screen (wieport about 1500px). I do see the expand/contract button but the pp_hoverContainer still goes beyond the viewport. Looking into my google analytics report I see that about 35% of my audience are coming with screen reolutions below 1440px on my old website.

    Even those with the higher resolutions I can not expect that they will work with maximized windows….

    Thanks for a final recommendation on this issue!

    :)

    Tom

    great, works, thanks!

    Tom

    Hi Dude,

    to make the lifgtbox scrollable would not be my prefered solution.

    I’d prefere the container always fits into the viewport – something like “width = 100%” !?

    Regards

    Tom

    Hi,

    I also prefere what nikicampbell is looking for, but in config.php there is no such code, I only can find this on line 367 (the only place I find if(is_product()) ) :

    // on the product page single page modify the breadcrumb to read [home] [if available:parent shop pages] [shop] [if available:parent categories] [category] [title]
    if(is_product())
    {
    //fetch all product categories and search for the ones with parents. if none are avalaible use the first category found
    $product_category = $parent_cat = array();
    $temp_cats = get_the_terms(get_the_ID(), $taxonomy);

    if(!empty($temp_cats))
    {
    foreach($temp_cats as $key => $cat)
    {
    if($cat->parent != 0 && !in_array($cat->term_taxonomy_id, $parent_cat))
    {
    $product_category[] = $cat;
    $parent_cat[] = $cat->parent;
    }
    }

    //if no categories with parents use the first one
    if(empty($product_category)) $product_category[] = reset($temp_cats);

    }
    //unset the trail and build our own
    unset($trail);

    $trail[0] = $home;
    if(!empty($shop_id) && $shop_id != -1) $trail = array_merge( $trail, avia_breadcrumbs_get_parents( $shop_id ) );
    if(!empty($parent_cat)) $trail = array_merge( $trail, avia_breadcrumbs_get_term_parents( $parent_cat[0] , $taxonomy ) );
    if(!empty($product_category)) $trail[] = '<a href="' . get_term_link( $product_category[0]->slug, $taxonomy ) . '" title="' . esc_attr( $product_category[0]->name ) . '">' . $product_category[0]->name . '</a>';

    }

    // add the [shop] trail to category/tag pages: [home] [if available:parent shop pages] [shop] [if available:parent categories] [category/tag]
    if(is_product_category() || is_product_tag())
    {
    if(!empty($shop_id) && $shop_id != -1)
    {
    $shop_trail = avia_breadcrumbs_get_parents( $shop_id ) ;
    array_splice($trail, 1, 0, $shop_trail);
    }
    }

    if(is_product_tag())
    {
    $last = __("Tag",'avia_framework').": ".$last;
    }

    if(!empty($last)) $trail[] = $last;
    }

    return $trail;
    }

    in reply to: sidebar titles text has 2 colors #120905

    Hi Ismael,

    OK, found out that this one does fit my needs better (to have the same color for the rest of the title same as the first part):

    ‘.main_color .sidebar .widgettitle {

    color: rgb(45, 92, 136);

    }’

    Thank you

    Tom

    Hi again,

    I’m still don’t know what to decide, making the images smaller (where there always will be a device which is too small) or to find a solution for this issue…

    However, here is the source of the page where the 2000px image is in: http://goo.gl/txKS9

    looking forward for feedback

    Thank you

    Tom

    Hi Dude,

    sorry – localhost.

    see the url: http://goo.gl/mt5ry

    The expand button I have on non-smartphone device (firefox win7), but when I expand then it expands to full image width (2000px) but the viewport is only 1500px width, without having a horizontal scrollbar, so the “unexpand” and the close buttons which are both on the right are not reachable!

    Regards

    Tom

    add-on: with mobile device emulation it fits into the viewport, but there is no fullscreen option.

    so, to detail my question: is it possible to make the container max-widht according to the viewport?

    By inspecting the code I see: ‘<div class=”pp_hoverContainer” style=”height: 2660px; width: 2000px;>”‘ But my viewport has only about 1500px…

    Don’t want to make pressure, but I stuck now in workflow cause I’m not sure with which size I should add my featured images for all of my products, so much appreciate a urgent feedback :)

    Thanks a lot

    Tom

    in reply to: Sidebar for Frontpage with Categories display #120525

    Hi,

    did you try to add it to the widget area which is named Frontpage?

    In the Replete Theme Options you have to make sure to display a sidebar in Default Page Layout option.

    Regards

    Tom

    in reply to: Cart issue after updating to Replete 1.4.1 #117641

    Hi,

    I also see those “undefined” benear the cart!

    in reply to: Moving the "accept terms and conditions" checkbox #113213

    sorry, found a dirty solution for now, also the font size does only work via the label. more native rearranging would be much better because the line breaks between text, link and checkbox is not very nice on different viewports:

    ‘/* rearange accept terms and conditions text on chekout (….com/kasse) */

    #payment #place_order {

    float: right !important;

    margin-top: 40px;

    }

    #payment .terms {

    margin-top: -20px;

    font-weight: bold;

    text-align: left !important;

    }

    #payment .terms label{

    font-size: 14px !important;

    }

    I did not test this on different user agents/devices yet!

    Regards

    Tom

    in reply to: Moving the "accept terms and conditions" checkbox #113212

    Hi,

    no way to move the accept T&C line above the button?

    Thank you

    Tom

    in reply to: Quick css change button size #113270

    Hi

    I did it here:

    #top .button , #top .submitbutton

    in reply to: Multilingual – some untranslated text #113261

    Hi,

    same to me!

    I use DE as only version but using the informal version.

    since update of all stuff (woo, replete, plugins etc.) I missed all translations so I moved over to use WooCommerce German (de_DE) plugin from David Decker.

    The only thing I can not find yet is the breadcrumb part “you are here >” which should be “Du bist hier >” but display “Sie befinden sich hier >”

    I worked through all plugins and themes in CodeStyling Localization but this part of text I could not find!

    Any idea?

    Thank you

    Tom

    in reply to: Best practice for retina hidpi product images #111597

    Thanks Devin and Nick,

    any experience with Replete/Woo yet?

Viewing 30 posts - 1 through 30 (of 58 total)