Home › Forums › Basel support forum › my account page
my account page
- This topic has 10 replies, 2 voices, and was last updated 6 years, 9 months ago by Artem Temos.
-
AuthorPosts
-
February 24, 2018 at 10:05 am #41997
artemignatyev1611Participanthello again
yesterday i wrote about customize my account page. woocommerce support team answered me finally. and now i know how i can add tag to menu at account page. but i dont know how i can add icon with link to dashboard at account page.can you say me which file include it? when i will add tag track order to menu at account page how i add content for this tag? has track order some shortcode?Attachments:
You must be logged in to view attached files.February 24, 2018 at 10:40 am #42002
artemignatyev1611ParticipantI did changes in function.php. It was add track order to side menu in account page and also it was added icon to dashboard at account page. But now i see some mistake:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘bbloomer_add_track_order_endpoint’ not found or invalid function name in /var/www/vhosts/u0420265.plsk.regruhosting.ru/httpdocs/orangeblack.store/wp-includes/class-wp-hook.php on line 286
Do you know what i can do?
And also i cant add some content to this tag. I think i need shortcode of track order.
I have this code for content:
// ——————
// 4. Add content to the new endpointfunction bbloomer_track_order_content() {
echo ‘<h3>Отслеживание доставки заказа</h3><p>Для отслеживания вашего заказа, пожалуйста, введите номер вашего заказа в поле ниже и нажмите кнопку “Отслеживание”. Вы найдёте его в квитанции, которая была отправлена вам по электронной почте.<i>Please contact your theme/plugin developer for theme/plugin-related support.</i></p>’;
echo do_shortcode( ‘ /* your shortcode here */ ‘ );
}add_action( ‘woocommerce_account_track-order_endpoint’, ‘bbloomer_track_order_content’ );
Is it right or no?
February 24, 2018 at 12:14 pm #42012
Artem TemosKeymasterHello,
Right, the code seems to be correct. But we don’t know why this error appears. Where do you see it?
February 24, 2018 at 1:08 pm #42029
artemignatyev1611ParticipantI see this on the top of page.
Can you help me to complete this content part? I dont know how i can put shortcode of track order there.February 24, 2018 at 2:37 pm #42042
Artem TemosKeymasterWhere we can see this issue on your website?
February 26, 2018 at 3:48 pm #42335
artemignatyev1611Participanthello. thanks i fixed it with plugin. but now i dont know how i can fix scripts of website which push the server. i changed plan and now my hosting so expensive for my small store. can you help me to understand how i can fix it?
February 26, 2018 at 6:59 pm #42372
Artem TemosKeymasterSorry, which script do you mean? Could you please provide us some more details about the issue you are asking about?
March 1, 2018 at 11:32 am #43154
artemignatyev1611Participanti sent it before. ok no problem. now i pay 20 dollar per mont for hosting for store with 90 items. so funny. but i am not professional and i dont know this shit like scripts.
Other one what i have. Look at pics. Do you have some idea what it can be? Its checkout step.Attachments:
You must be logged in to view attached files.March 1, 2018 at 1:10 pm #43201
Artem TemosKeymasterThese errors seem to be not related to our theme. Try to disable all external plugins one by one to see which one causes this problem.
March 1, 2018 at 1:50 pm #43219
artemignatyev1611ParticipantThanks a lot. Yes its not by your theme.
March 1, 2018 at 3:15 pm #43237
Artem TemosKeymasterYou are welcome!
-
AuthorPosts
- You must be logged in to create new topics. Login / Register