-
AuthorPosts
-
October 2, 2015 at 8:16 am #512600
Hi,
I read thru this
https://kriesi.at/support/topic/transparent-header-on-woocommerce-pages/#post-471097
and applied the suggested changes. They work well but for days now I’ve been chasing a problem with the footer on the single product page being screwed up. Ran the page thru a HTML validator and found there were some elements (divs) not getting closed thus the footer css was getting all screwed up because it was falling inside wrong divs.
So I traced it back to the changes made on the above post.
Particularly “commenting out lines 1071, 1027 & 1028” is what screws it up. I’m a bit confused have the config.php file works but its there any suggestions how to fix this but still allow me to move the related products?
Thanks,
isas
October 2, 2015 at 10:18 am #512671Hi isa_sss,
Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.
Best regards,
RikardOctober 2, 2015 at 12:08 pm #512706Thanks Rikard
October 3, 2015 at 9:40 pm #513221Hi!
login details do not work for me. Could you check please?
Cheers!
AndyOctober 4, 2015 at 2:52 am #513258Sorry
- This reply was modified 9 years, 2 months ago by isa_solutions.
October 5, 2015 at 12:31 pm #513688Hi!
it still does not work for me. Please just put the correct login details here as private reply, so we can copy & paste them to be able to login.
Regards,
AndyOctober 5, 2015 at 1:55 pm #513771So sorry. I don’t know what’s going on, I tested it numerous times!
I’ve reset the password , I’ve just triple checked it works.
October 6, 2015 at 8:13 am #514180Hi!
Please try to remove all modifications then add this in the functions.php file:
add_action( 'after_setup_theme', 'enfold_customization_woocommerce_related' ); function enfold_customization_woocommerce_related() { remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_related_products', 20); remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_upsells', 21); remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_display_output_upsells',30); add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 2); }
Regards,
IsmaelOctober 6, 2015 at 9:20 am #514212Thanks Ismael. I removed the mods and it fixed the problem. But I have another now :)
We don’t want to use the woo commerce_output_related_products as it comes out in a large 2×2 grid.
We would prefer to use the avia_woocommerce_output_upsells as it puts 4 items in a line.Is it possible to use this?
If I switch the
add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 2);
for
add_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_upsells', 10);
I get nothing shown?
October 7, 2015 at 5:38 am #514913 -
AuthorPosts
- You must be logged in to reply to this topic.