1068 comments found

youonline Purchased
Hello, I’m trying to find a way to show only the min price on the shop page for variable products instead of $XXX – $XXX. I’ve putted these filters in the functions.php: add_filter( 'woocommerce_variable_sale_price_html', 'wc_wc20_variation_price_format', 10, 2 ); add_filter( 'woocommerce_variable_price_html', 'wc_wc20_variation_price_format', 10, 2 ); function wc_wc20_variation_price_format( $price, $product ) { // Main Price $prices = array( $product->get_variation_price( 'min', true ), $product->get_variation_price( 'max', true ) ); $price = $prices[0] !== $prices[1] ? sprintf( __( '%1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] ); // Sale Price $prices = array( $product->get_variation_regular_price( 'min', true ), $product->get_variation_regular_price( 'max', true ) ); sort( $prices ); $saleprice = $prices[0] !== $prices[1] ? sprintf( __( '%1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] ); if ( $price !== $saleprice ) { $price = '<del>' . $saleprice . '</del> <ins>' . $price . '</ins>'; } return $price; }

and the result is the one I want, it only displays the min price in the shop page product list but when I view the single product I get the price showing 2 times, one before the variations select box and second after the variations select box (the price-hidden class of the price div is gone so the SEO price is showing).

How can I show only the min prince on the shop page for variable products, but hide the one in the single product page?

Or maybe you can suggest a better way of showing only the min price for variable products on the shop page.

Waiting for a reply, Regards

Laborator

Hi

I was googling to find an information about this but all I found is this plugin: http://docs.woothemes.com/document/woocommerce-minimum-advertised-price/

Which unfortunately is paid plugin.

One way to display only the minimum price in the catalog is via CSS

.laborator-woocommerce .items .product.product-type-variable .white-block .price {
 color: transparent;
}
.laborator-woocommerce .items .product.product-type-variable .white-block .price span:last-child {
display: none;
}

And if you want to hide the price range in single product use this CSS:

.laborator-woocommerce . product-type-variable .product-single .entry-summary .price {
display: none;
}

I hope this will help you.


Arlind

Default-user

Ha ha, I has having such a hard time with those filters and I was starting to get annoyed. This solution to hide the second price using CSS is simple, elegant and works like a charm. And most important doesn’t affect SEO so I’m :) :) :) Thanks Arlind

Laborator

Hi again

I am glad to hear that it worked for you. Yes indeed its simple solution and saves you money.

We would be very thankful to you if you can take some time and rate our theme :)

Cheers


Arlind

Hey,

I think I’ve done something wrong, and I’m getting a page that looks like this: http://s2.postimg.org/ih8dos01l/Untitled.png

I’ve just imported everything and installed all plugins, nothing else. It looks nothing like the screenshot. Help?

Thanks!

Laborator

Hi

You just need to set the menu locations, see screenshot:

http://cl.ly/WsoU Then the menu will look exactly as in the demo and the content will show.

Ylli

Rioxs Purchased

Hello, I recently updated my theme to 2.6.2 but my wishlist page (http:// goo.gl/qsbkkS) doesn’t work

Laborator

Hi Rioxs, can you firstly download this file: http://cl.ly/XeN5 Then move (replace) in Oxygen theme directory here: oxygen/woocommerce/

The problem will be fixed.

Ylli

Default-user
Rioxs Purchased

Hello Ylli, I downloaded the file and replace it but didn’t work… this is the display error: “Parse error: syntax error, unexpected ‘endif’ (T_ENDIF) in /home/sitequie/public_html/vestidos-de-novia/wp-content/themes/sitequiero/woocommerce/wishlist.php on line 1”

Laborator

Then you need to copy contents of that file (downloaded filed) and open via ftp the wishlist.php in woocommerce/ path in our theme, and paste it there, it should work.


Arlind

foxhounds Purchased

Dear all,

there must be a bug on the ipad 3 mobile view if you hold the ipad on end. If you hold it using horizontal format it works great. I have a screenshot for you here, also the navigation point turns from the right to the left and back.

http://abload.de/img/image19yol4.png

Thanks for your help!! You are doing great :)

Laborator

Hi foxhounds

I was trying to reproduce this error. Do you mean when you turn in landscape it shows different navigation?

It would be great if you can provide a video describing this bug.

Thanks


Arlind

Hi there,

I want to change the text in the ‘Order Notes’ section on the Checkout Page in the Theme, and I was just wondering how I go about doing this?

Thanks, Sharyn

Laborator

Hi Sharyn

There are couple of ways to do this and the best is to translate the text using WPML or CodeStyling localization and search in WooCommerce plugin strings, but if you don’t have these plugins installed you can change it straight to the file and will work just fine:

1. Go to Appearance > Editor 2. Click on Theme Functions (functions.php) file 3. Copy and paste this code to the end of the file:

add_action('woocommerce_checkout_fields', 'custom_woocommerce_checkout_fields');

function custom_woocommerce_checkout_fields($checkout_fields)
{

    $checkout_fields['order']['order_comments']['label'] = 'Custom Title for Order Notes';

    return $checkout_fields;
}

4. Replace “Custom Title for Order Notes” with your title.

I hope you can manage to do this.


Arlind

Hello, where can I find the file to import the revolution slider slides used in demo?

mabgwe Purchased

Hi guys.

Yesterday, everything was working fine, but today huge portions of my child theme CSS aren’t working anymore.

I tried adding !important tags and clearing the cache but it doesn’t help at all.

When I inspect elements, my custom child theme css isn’t registering anymore. Instead some things are being overwritten by this file.

oxygen/assets/css/custom-skin.css

This was never an issue, it just started today out of nowhere. I haven’t touched the code!

Please help, this is causing a huge delay :(

Default-user
mabgwe Purchased

I see some styles also coming from oxygen/style.css. This means the child theme has stopped overriding the parent? How could this happen?

Default-user
mabgwe Purchased

Tried deactivating all the plugins and it’s still not working so it isn’t a plugin issue.

Default-user
mabgwe Purchased

Tried adding the styles from my child theme to the theme’s new custom CSS editor, but it didn’t work either. Please help. I haven’t been able to make changes to the site all day!

Hi,

Really nice theme! Congrats!

I´m trying to set featured products carousel, but I cannot find a way with the VC. The query doesn´t have an option for featured products. How can I achieve this?

Thanks

by
by
by
by
by
by