Forum Replies Created
-
AuthorPosts
-
Hi.All good thanks, you can close it.
Hi Ismael! Did not notice this but did some changes in different field and looks like this affected fonts also. Thank you very much for your help i would be lost without you guys.
Hi Yigit! Apologies for not making it more clearer but as in your screenshot above single page and my account watchlist fonts are different and this is how it was initially. I want both watchlist & single product page to have same font -( both to have lowercase). Pls see in screenshot. Thanks
Hi! Did this code worked at your end? I have added screenshot pls. see in private. It still shows caps lock fonts. I asked Simple Auction plugin author what need to be done and he replied : You need to sort that part with some custom CSS code and include that classes to your font or define global font for whole html object.
Hi. Yes i just tried to put code on top of quick css but like i said i also tried to put in in child style.css file and still the same.
Hi Yigit! I tried but im afraid this code has no effect ( i tried to add both ways via quick css & also in style.css file.
Hi Yigit! Great it works thanks! One more thing when there is zero items for certain size is there a way to hide this size box.
Hi Yigit! This is free plugin and i can see that he does not respond to question so went for WOOF plugin instead and it does function better only cant seems to get checkbox in full row. Could this be down to Theme?. Can you please check this as i want full row with size filter checkboxes across full page instead of current 5 checkboxes in row.
p.s
Same page link as aboveHi Yigit! Plugin Themify generates shortcode based on filter setting – currently – [searchandfilter id=”size_filter_horz”]
I have added access to WordPress so you can check plugin settings. This generated shortcode must be added to pages where you want product filter.Hi! Pls check link in private & i also added FTP if needed. Thanks
Perfect ! Thank you very much Mike for such a great support.
Hi Mike! Yes timer works but now we are back to this issue with empty space between bid now button and product description pls see in private marked with red X. This is space where forced timer suppose to be but as we hid it for shop/category pages now this space stays empty and looks odd.
Hi Mike! Yes of course i tried this above code but for my account timer did not work. There might be some codes added in quick css that could affect this (Ismael mentioned that) but im not sure which one needs to be removed and not loose other changes in code.
p.s
Now i did backup prior any changes where made and before other mods took over our topic.Hi Mike! I assumed that you are on holiday since other mods took over our topic. That code you created to have auction timer for my account page and single product page was working great and only issue i had was empty space for shop page/category page where timer was removed (see link in private). We used this forced timer code for all pages and then you adjusted code to show timer only for my my account page (watchlist/my auctions) https://kriesi.at/support/topic/how-to-increase-thumbnail-size-image-for-watchlist/page/2/
Ismael did manage to remove that space but this auction timer also disappeared so i did full backup to date prior changes were made and left as it was. I also contacted Plugin author and he advised : Regarding your custom JS code much better approach would be to add couple if statements in https://pastebin.com/BWiswYec rather than removing html block with JS. If statement must be inside function, or like this:
if ( is_page(’29’) ) {
add_action( ‘woocommerce_after_shop_loop_item_title’,’wpgenie_show_counter_in_loop’,50 );
function wpgenie_show_counter_in_loop() {
global $product;$time = ”;
if ( ! isset( $product ) ) {
return;
}
if ( ‘auction’ !== $product->get_type() ) {
return;
}$timetext = esc_html__( ‘Time left’, ‘wc_simple_auctions’ );
if ( ! $product->is_started() ) {
$timetext = esc_html__( ‘Starting in’, ‘wc_simple_auctions’ );
$counter_time = $product->get_seconds_to_auction();
} else {
$counter_time = $product->get_seconds_remaining();
}
$future_class = ( $product->is_closed() === false ) && ( $product->is_started() === false ) ? ‘future’ : ”;$time = ‘<span class=”time-left “>’ . $timetext . ‘</span>
<div class=”auction-time-countdown ‘ . $future_class . ‘”
data-time=”‘ . esc_attr( $counter_time ) . ‘”
data-auctionid=”‘ . intval( $product->get_id() ) . ‘” data-format=”‘ . esc_attr( get_option( ‘simple_auctions_countdown_format’ ) ) . ‘”></div>’;if ( $product->is_closed() ) {
$time = ‘<span class=”has-finished”>’ . __( ‘Auction finished’, ‘wc_simple_auctions’ ) . ‘</span>’;
}echo $time;
}
}Hi Ismael! I understand that you did not remove Mikes code in child theme functions.php (post #1116502) but somehow this issue you sorted with product container size affected auction timer visibility. I just did full cpanel backup to day prior you added code and removed snippets that not suppose to be there ( see above post #1118997) and timer works as should for my account and single product pages pls see links in private so only after changes were made on 16 July auction timer disappeared.
Maybe Mike can have a look at this as he did some great job in sorting this timer visibility by creating code. I have now contacted plugin Author and he provided some personal comments regarding this Mikes code that could maybe help resolve this issue.Hi Ismael ! Im afraid this way we have lost what Mike has done for me pls. see this link.
In few words there suppose to be time left auction timer for products in my account setting and also in individual product page view (timer must be removed from rest of pages).
Hi, I have added login credentials.
HI Ismael! No i haven’t touched performance settings. I can see some changes to one product line but it does not affect space i was referring to pls. see link in private. As you can see after using your css bid button draws closer to next row of product pictures and this still leaves massive gap. Also first row is still the same as use to be bid button in middle of this space. Bid/auction button suppose to be under product picture not above.
Hi Ismael. No its just that space is too wide between where is written current bid and location of bid now button. Pls check link in private where i marked with red X this space im referring to.
Hi Ismael! All done and works great. Thanks for helping me out.
Hi! Im afraid this above given quick css does removes that empty space.
Thanks Mike for great support, it does look a lot better now. This space where timer use to be and now is hidden( in picture marked with yellow) can it be reduced/removed pls.
Thanks Ismael! For now anyway shop page will be disabled and i will use only auction and archive/category pages. At the moment only issue left is with mobile version where menu is on the bottom of the page.
Hi. Apologies, ssl certificate error has been fixed.
Correct Mike, timer just on single product page and /my-account/ page so also no need to have time left message on shop page and auction page where all items are displayed – see link.
Hi Ismael! I noticed that this sorting element is working on all pages just mobile version displays it on the bottom of the page ( see link on private) Also regarding your question about element exclusivity to “Auction” page Plugin author replied :function is not exclusive to auction page, this is function:
if ( ! function_exists( ‘woocommerce_auctions_ordering’ ) ) {
/**
* Output the product sorting options.
*
* @subpackage Loop
*
*/
function woocommerce_auctions_ordering() {global $wp_query;
if ( 1 === $wp_query->found_posts ) {
return;
}$orderby = isset( $_GET[‘orderby’] ) ? wc_clean( $_GET[‘orderby’] ) : apply_filters( ‘wsa_default_auction_orderby’, get_option( ‘wsa_default_auction_orderby’ ) );
$show_default_orderby = ‘menu_order’ === apply_filters( ‘wsa_default_auction_orderby’, get_option( ‘wsa_default_auction_orderby’ ) );
$catalog_orderby_options = apply_filters( ‘woocommerce_auctions_orderby’, array(
‘menu_order’ => __( ‘Default sorting’, ‘woocommerce’ ),
‘date’ => __( ‘Sort by newness’, ‘woocommerce’ ),
‘price’ => __( ‘Sort by buynow price: low to high’, ‘wc_simple_auctions’ ),
‘price-desc’ => __( ‘Sort by buynow price: high to low’, ‘wc_simple_auctions’ ),
‘bid_asc’ => __( ‘Sort by current bid: Low to high’, ‘wc_simple_auctions’ ),
‘bid_desc’ => __( ‘Sort by current bid: High to low’, ‘wc_simple_auctions’ ),
‘auction_end’ => __( ‘Sort auction by ending soonest’, ‘wc_simple_auctions’ ),
‘auction_started’ => __( ‘Sort auction by recently started’, ‘wc_simple_auctions’ ),
‘auction_activity’ => __( ‘Sort auction by most active’, ‘wc_simple_auctions’ ),
) );if ( ! $show_default_orderby ) {
unset( $catalog_orderby_options[‘menu_order’] );
}wc_get_template( ‘loop/orderby.php’, array( ‘catalog_orderby_options’ => $catalog_orderby_options, ‘orderby’ => $orderby, ‘show_default_orderby’ => $show_default_orderby ) );
}}
Hi. Yes it does work Mike thanks for great help. I added two links where auction time left is missing from product pages but works ok in my account watchlist. Apart from this all rest works excellent.
Hi Mike. I have added ftp access for you because i tried code above and it shows error – pls see link in private.
Hi Mike! As advised added code to plugin function.php and it works but it forces this timer everywhere (also shop page) but i wanted this timer for my account / watchlist, saved items. Maybe there is way to adjust this in code without taking away original timer from single product pages.
Found this in plugins documentation but not sure if this would help.
-
AuthorPosts