Where is the Traction Theme footer?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hi I want to edit the footer of the theme I'm talking about but I haven't found where it's made yet. Can you help me? What do I need to do to edit the footer section? Also is the footer layout the same for each theme?
4 years ago
Normally the foorter is here

nopCommerce42\Presentation\Nop.Web\Views\Shared\Components\Footer\Default.cshtml

But it maybe overriden by from one in a theme
look in the folder for the theme you are using to see if a new view exists

nopCommerce42\Presentation\Nop.Web\Themes\<Themename>\Views\Shared\Components\Footer\Default.cshtml

Each theme could override the footer
4 years ago
Themes \ Traction \ Views \ Shared \ Components \ Footer \ Default.cshtml

I followed these steps, but no changes are made. Footer still remains the same. I do not know how to do it.
4 years ago
kerimakarsu wrote:
Themes \ Traction \ Views \ Shared \ Components \ Footer \ Default.cshtml

I followed these steps, but no changes are made. Footer still remains the same. I do not know how to do it.


Hi kerimakarsu,

what changes exactly are you trying to do in the Footer? Could you show us some images or give us a link to your store so we can see the actual situation?

Looking forward to your answer!

Regards,
Valentin.
4 years ago
In Part 1; skype, fax and phone fields are unnecessary for me.
2. I have a lot of payment methods that I do not use in the field I want to change them.

4 years ago
kerimakarsu wrote:
In Part 1; skype, fax and phone fields are unnecessary for me.
2. I have a lot of payment methods that I do not use in the field I want to change them.


Hello again kerimakarsu,

if you just what to change these fields you need to go in your admin panel to Configuration -> Languages -> Edit the active language you have and in the String resources section look for the particular string resource names and just change their Values to whatever you find fitting.

Skype resource -> SevenSpikes.Themes.Traction.Common.Skype
Fax resource -> SevenSpikes.Themes.Traction.Common.Fax
Phone resource -> SevenSpikes.Themes.Traction.Common.Phone

If you insist on editing the View file it is this part of the
Presentation\Nop.Web\Themes\Traction\Views\Shared\Components\FooterDefault.cshtml file:




However, if you want to hide those three, I suggest you use their specific class names and hide them with some CSS added to your theme`s Custom Head Styles section, like so:

.footer-block.contacts .phone,
.footer-block.contacts .fax,
.footer-block.contacts .skype {
    display: none;
}



As for the payment methods, if you just want to hide some of them I suggest you use the above-mentioned approach and add the following code to your theme`s Custom Head Styles section:

.footer-middle .accepted-payment-methods .method-1,
.footer-middle .accepted-payment-methods .method-2 {
    display: none;
}


The payment methods are numbered from 1 to 4 from left to right so the above example will remove the first two. You can use this method to hide whichever methods you are not using.

If you want to change the payment method images you need to edit the following image file:

~ Presentation\Nop.Web\Themes\Traction\Content\img\payment_sprite.png



Hope this was helpful.

Best regards,
Valentin.
4 years ago
Presentation\Nop.Web\Themes\Traction\Views\Shared\Components\FooterDefault.cshtml file:


There's no file I can watch like this. So there is no folder presentation.

kasimpasabisiklet.com.tr\httpdocs\Themes\Traction\Views\Shared\Components\Footer\Default.cshtml

In this way, the folder I found and followed does not change even though I delete the specified code. Still same. The same problem arises when I remove it from the array source.
4 years ago
So you are running the no-source version and editing the production website

Maybe you need to clear the cache / restart the application
Stop and start the website host
4 years ago
It happened now, thanks a lot :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.