-
AuthorPosts
-
January 15, 2015 at 1:37 pm #379993
Hi guys, go to link in private
Then please resize the window to tablet view. My problem is that this is the order in which the content is displayed:
Product Image -> Sidebar images -> Product Title -> Product ContentIn theme options where you set to display the sidebar on a mobile, it says this: “Show sidebar on smartphones (Sidebar is displayed then below the actual content)” so I assume by default it should display the sidebar under the content? It’s not displaying it under the content. This is the order of content I need:
Product Image -> Product Title -> Product Content -> Sidebar images
How can I achieve this layout on tablets and smartphones?
ThanksJanuary 15, 2015 at 9:19 pm #380443Hey Kris1711!
The products are a bit different from the regular posts. This sounds like it would be easy to do but it’s actually going to take a lot of HTML and CSS changes to implement so it would have to be considered custom work. It would be best to hire a freelancer to help you out with this customization.
Cheers!
ElliottJanuary 16, 2015 at 6:59 pm #381014OK, I guess I can achieve the same affect by disabling the sidebar when in tablet view and just adding it manually with media queries as we’re not selling a great deal of products! Also I have another question…
In WooCommerce I have everything set up correctly for tax and yet it doesn’t show the tax when in cart, it says “Includes £0.00 Tax”. When it’s in checkout it shows the tax correctly. Do you know why this could be as it may throw people off a bit?
January 18, 2015 at 4:59 pm #381480Hi!
try to put this code into your functions.php:
// this is used for taxing: add_filter('woocommerce_countries_base_country', 'set_base_to_usercountry', 1, 1); // and this is used for shipping: add_filter('woocommerce_customer_default_location', 'set_base_to_usercountry', 1, 1); function set_base_to_usercountry($country) { $country = USERCOUNTRY; // comes from a geoIP lookup in my case. return $country; } // and this is also needed not to have trouble with the "modded_tax". // (which looks like rounding issues, but is a tax conversion issue.) add_filter('woocommerce_customer_taxable_address', 'alter_taxable_address', 1, 1); function alter_taxable_address($address) { // $address comes as an array with 4 elements. // first element keeps the 2-digit country code. $address[0] = USERCOUNTRY; return $address; }
Best regards,
AndyJanuary 19, 2015 at 11:33 am #381648Hi Andy,
That didn’t work, it just got rid of the tax on the checkout page as well, I need it to display correctly on both cart and checkout pages.
Cheers
January 19, 2015 at 7:57 pm #382060Sorted it now thanks guys, think it was to do with the new EU laws.
-
AuthorPosts
- The topic ‘Product page sidebar positioning error’ is closed to new replies.