woocommerce product page tweaks
-
Hi
I am using sydney pro along with woocommerce, and had a couple of very similar product page tweaks. Thanks in advance!
Query 1
Currently on each product page, underneath the calendar, there is the currently the text:
“Category: Book a Letscando Professional (Nottingham)”
Is there a way that I can remove this text from the page? An example of the product page is:
https://www.letscando.com/product/carpentry-joinery-nottingham/Query 2
Again on each product page, I am using the following code to redirect to the “shop page” through the text “Return to all Letscando Services”.
`add_action(‘woocommerce_before_single_product_summary’, ‘sydney_child_before_product_image’);
function sydney_child_before_product_image(){$html = ‘<div style=”text-align:left;”>’;
$html .= ‘Return to all Services‘;
$html .='</div>’;echo $html;
}
Instead of redirecting back to the shop page (with all categories), I would like to send users back to the PRODUCT CATEGORY that the user was previously on?
I currently have 2 categories, with 10 products in each:
https://www.letscando.com/product-category/croydon/
https://www.letscando.com/product-category/nottingham/I tried reviewing the following page for advice but couldn’t find anything for this:
https://www.skyverge.com/blog/get-woocommerce-page-urls/Example product page again:
https://www.letscando.com/product/carpentry-joinery-nottingham/Query 3
On the product page again, how can i COMPLETELY remove the “related services” section underneath the shopping cart?
Thanks in advance!
- The topic ‘woocommerce product page tweaks’ is closed to new replies.