Magento 2 : Title Prefex and Suffix Doesn't Works
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have 2 websites with Magento 2.2.2 with luma theme.
For one prefix and suffix works fine. For other, no prefix and suffix are rendering.
Who can explain me exactly where part of the code is used to generate the title I will try to debug it.
Thanks a lot, guys
magento2 websites page-title
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have 2 websites with Magento 2.2.2 with luma theme.
For one prefix and suffix works fine. For other, no prefix and suffix are rendering.
Who can explain me exactly where part of the code is used to generate the title I will try to debug it.
Thanks a lot, guys
magento2 websites page-title
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Please change the store view for other website and add your products and suffix from store - configuration
– Purushotam Sharma
Feb 17 '18 at 17:13
add a comment |
I have 2 websites with Magento 2.2.2 with luma theme.
For one prefix and suffix works fine. For other, no prefix and suffix are rendering.
Who can explain me exactly where part of the code is used to generate the title I will try to debug it.
Thanks a lot, guys
magento2 websites page-title
I have 2 websites with Magento 2.2.2 with luma theme.
For one prefix and suffix works fine. For other, no prefix and suffix are rendering.
Who can explain me exactly where part of the code is used to generate the title I will try to debug it.
Thanks a lot, guys
magento2 websites page-title
magento2 websites page-title
edited Oct 30 '18 at 4:57
Evince Development
1,092319
1,092319
asked Feb 17 '18 at 11:19
Ludovik DopieralaLudovik Dopierala
11
11
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Please change the store view for other website and add your products and suffix from store - configuration
– Purushotam Sharma
Feb 17 '18 at 17:13
add a comment |
Please change the store view for other website and add your products and suffix from store - configuration
– Purushotam Sharma
Feb 17 '18 at 17:13
Please change the store view for other website and add your products and suffix from store - configuration
– Purushotam Sharma
Feb 17 '18 at 17:13
Please change the store view for other website and add your products and suffix from store - configuration
– Purushotam Sharma
Feb 17 '18 at 17:13
add a comment |
1 Answer
1
active
oldest
votes
From what you described I think it's most likely scope issue with your configuration setting.
You can use php bin/magento config:show
to see what value has been set for head_title_prefix
and head_title_suffix
However if you want to look into the code for debug put a breakpoint in vendor/magento/module-theme/Model/Design/Config/DataProvider.php::getMeta()
Hi, Thanks for you help. With php bin/magento config:show I don't undestand why my prefix and suffix are empy design/head/default_title - What's Up design/head/title_prefix - design/head/title_suffix - design/head/default_description - Default Description design/head/default_keywords - design/head/includes - In catalog I can see my separator : catalog/seo/title_separator - - But in my backend configuration I can see the value : Page Title Prefix ok Page Title Suffix <ok So If the command configuration can't see it it's normal it wasn't apply. But why ?
– Ludovik Dopierala
Feb 18 '18 at 18:06
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f213915%2fmagento-2-title-prefex-and-suffix-doesnt-works%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
From what you described I think it's most likely scope issue with your configuration setting.
You can use php bin/magento config:show
to see what value has been set for head_title_prefix
and head_title_suffix
However if you want to look into the code for debug put a breakpoint in vendor/magento/module-theme/Model/Design/Config/DataProvider.php::getMeta()
Hi, Thanks for you help. With php bin/magento config:show I don't undestand why my prefix and suffix are empy design/head/default_title - What's Up design/head/title_prefix - design/head/title_suffix - design/head/default_description - Default Description design/head/default_keywords - design/head/includes - In catalog I can see my separator : catalog/seo/title_separator - - But in my backend configuration I can see the value : Page Title Prefix ok Page Title Suffix <ok So If the command configuration can't see it it's normal it wasn't apply. But why ?
– Ludovik Dopierala
Feb 18 '18 at 18:06
add a comment |
From what you described I think it's most likely scope issue with your configuration setting.
You can use php bin/magento config:show
to see what value has been set for head_title_prefix
and head_title_suffix
However if you want to look into the code for debug put a breakpoint in vendor/magento/module-theme/Model/Design/Config/DataProvider.php::getMeta()
Hi, Thanks for you help. With php bin/magento config:show I don't undestand why my prefix and suffix are empy design/head/default_title - What's Up design/head/title_prefix - design/head/title_suffix - design/head/default_description - Default Description design/head/default_keywords - design/head/includes - In catalog I can see my separator : catalog/seo/title_separator - - But in my backend configuration I can see the value : Page Title Prefix ok Page Title Suffix <ok So If the command configuration can't see it it's normal it wasn't apply. But why ?
– Ludovik Dopierala
Feb 18 '18 at 18:06
add a comment |
From what you described I think it's most likely scope issue with your configuration setting.
You can use php bin/magento config:show
to see what value has been set for head_title_prefix
and head_title_suffix
However if you want to look into the code for debug put a breakpoint in vendor/magento/module-theme/Model/Design/Config/DataProvider.php::getMeta()
From what you described I think it's most likely scope issue with your configuration setting.
You can use php bin/magento config:show
to see what value has been set for head_title_prefix
and head_title_suffix
However if you want to look into the code for debug put a breakpoint in vendor/magento/module-theme/Model/Design/Config/DataProvider.php::getMeta()
answered Feb 18 '18 at 10:29
William TranWilliam Tran
390511
390511
Hi, Thanks for you help. With php bin/magento config:show I don't undestand why my prefix and suffix are empy design/head/default_title - What's Up design/head/title_prefix - design/head/title_suffix - design/head/default_description - Default Description design/head/default_keywords - design/head/includes - In catalog I can see my separator : catalog/seo/title_separator - - But in my backend configuration I can see the value : Page Title Prefix ok Page Title Suffix <ok So If the command configuration can't see it it's normal it wasn't apply. But why ?
– Ludovik Dopierala
Feb 18 '18 at 18:06
add a comment |
Hi, Thanks for you help. With php bin/magento config:show I don't undestand why my prefix and suffix are empy design/head/default_title - What's Up design/head/title_prefix - design/head/title_suffix - design/head/default_description - Default Description design/head/default_keywords - design/head/includes - In catalog I can see my separator : catalog/seo/title_separator - - But in my backend configuration I can see the value : Page Title Prefix ok Page Title Suffix <ok So If the command configuration can't see it it's normal it wasn't apply. But why ?
– Ludovik Dopierala
Feb 18 '18 at 18:06
Hi, Thanks for you help. With php bin/magento config:show I don't undestand why my prefix and suffix are empy design/head/default_title - What's Up design/head/title_prefix - design/head/title_suffix - design/head/default_description - Default Description design/head/default_keywords - design/head/includes - In catalog I can see my separator : catalog/seo/title_separator - - But in my backend configuration I can see the value : Page Title Prefix ok Page Title Suffix <ok So If the command configuration can't see it it's normal it wasn't apply. But why ?
– Ludovik Dopierala
Feb 18 '18 at 18:06
Hi, Thanks for you help. With php bin/magento config:show I don't undestand why my prefix and suffix are empy design/head/default_title - What's Up design/head/title_prefix - design/head/title_suffix - design/head/default_description - Default Description design/head/default_keywords - design/head/includes - In catalog I can see my separator : catalog/seo/title_separator - - But in my backend configuration I can see the value : Page Title Prefix ok Page Title Suffix <ok So If the command configuration can't see it it's normal it wasn't apply. But why ?
– Ludovik Dopierala
Feb 18 '18 at 18:06
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f213915%2fmagento-2-title-prefex-and-suffix-doesnt-works%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please change the store view for other website and add your products and suffix from store - configuration
– Purushotam Sharma
Feb 17 '18 at 17:13