Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › Design adaptions on Cardinal WooCommerce Shop
New Landing › How can we help? › Cardinal › Design adaptions on Cardinal WooCommerce Shop
- This topic has 67 replies, 3 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Cardinal
-
November 2, 2015 at 11:58 am #224941
Hi,
1)
To add a different menu for the shop and single products, please activate your child theme. Inside your child theme folder, there is a
functions.php
file. Please paste this code into thefunctions.php
file. http://pastie.org/private/5eflsqwc90rzv0q3qvmpoa.Inside that code, you will need to find this:
if ( is_woocommerce() || is_product() ) { $page_menu = "23"; }
Change the number 23 to correspond to your desired second menu. You can find the menu ID by going to Appearance => Menus and selecting your menu. It’s the last number in the URL.
2)
What menu is that for, can you send a screenshot. We can likely provide you with the CSS to hide it.
Thanks,
David.November 3, 2015 at 12:19 pm #225368Hi David
Thank you for the support.
1) where can I activate the child theme and where can I find the child theme folder?
2) Attached I send you a screenshot. I wish to hide the cart icon there.
Thank you!
Leander
Attachments:
You must be logged in to view attached files.November 3, 2015 at 12:23 pm #225371The child theme is supplied in the main zip folder which is available from your ThemeForest account. Upload the child theme just like any other theme and activate it.
Cheers,
David.November 16, 2015 at 7:47 pm #229176Hi!
1) I did activate the child theme and add the code. But the Navigation on the shop page did not change.
2) I did add and activate the “loco translate” plugin. But there do not appear any translations.What do I have to change?
Regards
LeanderNovember 17, 2015 at 5:22 pm #229440Hi,
Please activate your child theme so I can look into this further. I have it running fine on my dev version.
Thanks,
David.November 19, 2015 at 2:45 pm #229954When I activate the child theme the page goes blank!
What could be the problem?November 20, 2015 at 4:33 pm #230315Does the whole site go blank or just a page?
If you add your FTP details I should be able to investigate that further.
Thanks,
DavidNovember 23, 2015 at 8:39 am #230499This reply has been marked as private.November 24, 2015 at 1:37 pm #230946Hi,
When you copied the code into the
functions.php
file, what app did you use? It changed the formatting of the""
and removed a variable$
sign.I added those back and it is now correct and ready for you to activate.
Thanks,
David.November 24, 2015 at 1:51 pm #230956The child theme is activated now.
But the content and also menus are not visible any more. why?November 24, 2015 at 1:53 pm #230957When you activate a child theme, you need to set the menus again. It’s like activating a new theme.
– David.
November 24, 2015 at 3:35 pm #231005child theme and shop navigation wok now – thank you!
how about the loco translate? Its installed but it does not translate the shop page:
http://www.box-nacht.ch/cart/
Whats the problem?November 25, 2015 at 3:02 pm #231280Hi,
Download the
nl_NL.po
file.To amend the translations:
1) Download POEdit https://poedit.net/
2) Search through your strings and amend the translations. Save your file.
3) Fuzzy strings, marked in yellow will need to be un-ticked: Edit => mark as fuzzy
4) When finished, click File => Compile to MO.
5) Upload your new language files BOTHnl_NL.po
andnl_NL.mo
to the foldercardinal/languages/
Thanks,
David.November 26, 2015 at 5:42 pm #231600This reply has been marked as private.November 26, 2015 at 5:44 pm #231605Hi,
Sure, I’ll help you. Please add the files to dropbox, then send me a link. Those attachments did not work.
Thanks,
David. -
Posted in: Cardinal
You must be logged in and have valid license to reply to this topic.