Tagged: templates, woocommerce
-
AuthorPosts
-
May 5, 2017 at 7:54 pm #788638
I’m trying to overwrite a bunch of stuff through the described WooCommerce methods… but nothing happens
I need to make somewhat more serious changes to the single product template but the regular methods seem to be no use and my php skills aren’t developed enough to invent new ways..
May 6, 2017 at 7:06 am #788743Hey joax,
What changes are you looking to make and what have you tried so far?
Best regards,
RikardMay 6, 2017 at 1:50 pm #788828I have to add a pricing table that automatically calculates the price for each product.. this shop i’m working on offers spread payments.. this table is just about what i can manage in php :P
https://www.medialeasetogo.nl/winkel/lg-gsj361b-blue-amerikaanse-koelkast/ (bellow the product specifications)
So I tried putting a file here: /wp-content/themes/enfold-child/woocommerce/templates/single-product/tabs/tabs.php
That should do the trick according to the woocommerce instructions.. but it doesn’t work :-/
May 7, 2017 at 6:16 am #789027Hi,
Ok, thanks for the feedback. It would probably be a good idea to post your problem on a WooCommerce/general WordPress forum as well, this isn’t really theme specific so our support is limited for this type of problem. But if you specify what your actual problems are then maybe we could help you out anyway?
Best regards,
RikardJune 6, 2018 at 2:56 pm #967876Back again on this one.. running into the same problem again.. I got one site where it works (which is behind on updates) and a new one (a clone of the previous one) which is completely up to date but the the changes from the child theme don’t render on the front of the site.. the path is still the same (as it is a copy of the working one)
/wp-content/themes/enfold-child/woocommerce/templates/single-product/tabs/tabs.php
That should work right?
June 10, 2018 at 10:25 am #970701Hi joax,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaJune 11, 2018 at 11:46 am #971088Here ya go:
June 12, 2018 at 5:19 am #971515Hi,
Thanks for that. As far as I can see your file override is in the correct place, what are the exact changes you are trying to make and what is not working? You have a plugin called custom product tabs, maybe that is interfering with your code?
Best regards,
RikardJune 12, 2018 at 10:57 am #971633nah.. the custom tabs plugin was a tryout option.. but it doesn’t deliver the desired result.
What i’m trying to achieve is the pricetabe under the product description here which makes some automatic calculations based on the product price (not the most pretty product description.. i know :-P) and this is about as far a my php skills go
https://www.medialeasetogo.nl/winkel/boretti-cfbi902ix-90-cm-inductie-2-ovens/So I got it to work here by putting it in the plugin folder.. which is of course the most crappy solution ever
June 13, 2018 at 7:47 am #972079Hi,
Thanks for the feedback. I’m not sure why your override is not working, all I can recommend is to double check so that the file is in the correct folder. Maybe you could try to override another file as well to make sure is actually works? This is a bit out of our jurisdiction though, but we can try to help you out anyway.
Best regards,
RikardJune 13, 2018 at 9:15 am #972128oke.. now I feel stupid.. I shouldn’t have it say enfold-child/woocommerce/templates/single-product but enfold-child/woocommerce/single-product without the templates in it..
Thanks for making me look twice :-P
June 14, 2018 at 6:36 am #972628 -
AuthorPosts
- You must be logged in to reply to this topic.