| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Store title not shown on checkout and cart pages | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Store title not shown on checkout and cart pages
The title of the store "My Store |" is not showing on the Shopping Cart and Checkout pages. It only shows in the main store areas. is there an easy way to correct this?
__________________
V5.2.13 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Store title not shown on checkout and cart pages
Could you please let me know how did you define the "My Store |" label to show in your titles?
Thank you. Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#3
|
|||||||
|
|||||||
Re: Store title not shown on checkout and cart pages
It seems that xCart gets the <title></title> tags from the "Front Page" section under the "Custom HTML title:" field. This works for the main store pages but the <title></title> tag only displays "Checkout" and "Your Shopping Cart".
What I need is for the Custom HTML title to also show on "Checkout" and Other Cart pages.
__________________
V5.2.13 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Store title not shown on checkout and cart pages
If you want to achieve this, you should create a new module, decorate the getPageTitle() method of \XLite\Controller\AController class and append returning result with your custom string.
Please, let me know if it makes sense to you. Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#5
|
|||||||
|
|||||||
Re: Store title not shown on checkout and cart pages
What is " append returning result with your custom string" sorry for the confusion. I have everything else done.
__________________
V5.2.13 |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Store title not shown on checkout and cart pages
Return the string you want in the getPageTitle() method.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#7
|
|||||||
|
|||||||
Re: Store title not shown on checkout and cart pages
Ok, I can't seem to get this to populate the title on the checkout page. Here is the code i have so far.
Code:
__________________
V5.2.13 |
|||||||
#8
|
|||||||||
|
|||||||||
Re: Store title not shown on checkout and cart pages
Wouldn't your namespace be:
namespace XLite\Module\MyModule\MyFolder\Controller Your file name AController.php would reside in the XLite\Module\MyModule\MyFolder\Controller\ directory.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#9
|
|||||||
|
|||||||
Re: Store title not shown on checkout and cart pages
You're right about the namespace. I have changed it but I still can't get the title to populate the checkout page.
Code:
__________________
V5.2.13 |
|||||||
#10
|
|||||||
|
|||||||
Re: Store title not shown on checkout and cart pages
Don't know if this is the best way to do this but here is what worked.
Code:
__________________
V5.2.13 |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|