Post by paulvonw » Sun Dec 21, 2014 6:12 pm

In the footer on my Opencart site, there is a link called "Affiliates" under "Extras". How do I access "Extras", "Affiliates" and all the other links in the footer to edit the standard text, and to add new links?

On the "Affiliates" page, there is a line of text: "For more information, visit our FAQ page or see our Affiliate terms & conditions."
However, nowhere on the site can I find these two pages. Can anyone tell me how to create them and show them in a module in the right sidebar? I will need to name the module "Affiliates Information" or something similar.

What module positions will I use, and how do I find and access them?

Once I know how to do this, I can create other pages/modules with different information in.

Your help is greatly appreciated.

Regards,
Paul.

Newbie

Posts

Joined
Sun Dec 21, 2014 5:37 pm

Post by fido-x » Sun Dec 21, 2014 8:27 pm

You can create your own affiliate terms and conditions as an information page (the same as privacy policy and site terms and conditions). Once enabled, they will appear in the "Information" section in the footer on the front-end. In your store settings, under the "Options" tab, you can set these terms to be your affiliate terms (the same way you define your account and checkout terms), which can then display as a "popup" on the affiliate registration page.

There is no FAQ section in OpenCart. You will have to find a 3rd party add-on for this.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by ocmta » Sun Dec 21, 2014 8:33 pm

The links are in the footer template: catalog/view/theme/<default or your theme name>/template/common/footer.tpl .

Text is either in language files for built-in pages (e.g. for affiliate login page it's in catalog/language/english/affiliate/login.php), or if it's information page, such as Terms and Conditions, it's in admin backend under Catalog - Information .

There you can make more Information pages, and then put links to them into the footer template or module template.

Affiliate module template is in catalog/view/theme/<default or your theme name>/template/module/affiliate.tpl , and its' language file is catalog/language/english/module/affiliate.php .

Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount


Active Member

Posts

Joined
Mon Mar 12, 2012 11:21 am


Post by Selective555 » Sun Dec 21, 2014 8:51 pm

paulvonw wrote:In the footer on my Opencart site, there is a link called "Affiliates" under "Extras". How do I access "Extras", "Affiliates" and all the other links in the footer to edit the standard text, and to add new links?
I can answer this question, but others more experienced with OpenCart will have to explain for us the rest.
To edit the color of the footer, find this file

Code: Select all

/catalog/view/theme/default/stylesheet/stylesheet.css
and find this in the page to edit the colors

Code: Select all

/* footer */
To edit the words in the footer (and the copyright info), find this file

Code: Select all

/catalog/language/english/common/footer.php
To insert new pages into the footer, find this page (and use page listed above also)

Code: Select all

/catalog/controller/common/footer.php
To edit the format of the text in the footer, find this page

Code: Select all

/catalog/view/theme/default/template/common/footer.tpl
The "About Us", "Delivery Information", "Privacy Policy", and "Terms & Conditions" are all generated from here

Code: Select all

/catalog/view/theme/default/template/information/information.tpl
These are other pages currently linked to the footer, I'm still trying to find them all

Code: Select all

/catalog/view/theme/default/template/information/contact.tpl

Code: Select all

/catalog/view/theme/default/template/information/sitemap.tpl

Code: Select all

/catalog/view/theme/default/template/mail/voucher.tpl

Code: Select all

/catalog/view/theme/default/template/affiliate/login.tpl

Code: Select all

/catalog/view/theme/default/template/product/special.tpl

Code: Select all

/catalog/view/theme/default/template/affiliate/account.tpl

Active Member

Posts

Joined
Wed Nov 26, 2014 1:29 pm

Post by Selective555 » Sun Dec 21, 2014 9:00 pm

fido-x wrote:You can create your own affiliate terms and conditions as an information page (the same as privacy policy and site terms and conditions). Once enabled, they will appear in the "Information" section in the footer on the front-end.
ocmta wrote:There you can make more Information pages, and then put links to them into the footer template or module template.
If all four of the information pages are generated from the same page

Code: Select all

/catalog/view/theme/default/template/information/information.tpl
then how can we create new information pages, and how do we add them?

Is there a way to do this in the Admin panel?

I don't understand.

Active Member

Posts

Joined
Wed Nov 26, 2014 1:29 pm

Post by ocmta » Sun Dec 21, 2014 9:04 pm

Selective555 wrote:
If all four of the information pages are generated from the same page

Code: Select all

/catalog/view/theme/default/template/information/information.tpl
then how can we create new information pages, and how do we add them?

I don't understand.
In admin - Catalog - Information. You don't manually edit any files for that. Information pages use the same template, but content is different and can be added / edited in admin.

Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount


Active Member

Posts

Joined
Mon Mar 12, 2012 11:21 am


Post by Selective555 » Sun Dec 21, 2014 9:08 pm

ocmta wrote:In admin - Catalog - Information. You don't manually edit any files for that. Information pages use the same template, but content is different and can be added / edited in admin.
Oh, cool... I never noticed that before.

Thanks

Active Member

Posts

Joined
Wed Nov 26, 2014 1:29 pm

Post by Selective555 » Sun Dec 21, 2014 10:24 pm

QUESTION:

How do I add a fifth column in the footer without it being shoved to a new line below the first four?

I can add a fifth column, but it appears as though they are set very far apart by some kind of table, spacing, or padding and I can't figure out where to change this at.

I used this page to add a fifth column

Code: Select all

/catalog/view/theme/default/template/common
Is there something on that page that controls how far apart the columns are?

Active Member

Posts

Joined
Wed Nov 26, 2014 1:29 pm

Post by Selective555 » Mon Dec 22, 2014 1:57 am

Selective555 wrote:QUESTION:

How do I add a fifth column in the footer without it being shoved to a new line below the first four?

I can add a fifth column, but it appears as though they are set very far apart by some kind of table, spacing, or padding and I can't figure out where to change this at.

I used this page to add a fifth column

Code: Select all

/catalog/view/theme/default/template/common
Is there something on that page that controls how far apart the columns are?
I just figured this out.

Normal HTML codes such as "center", "middle", and "align" don't work here for the rows and columns, so I had to figure out what was going on with the code, and understand it better.

What controlled where the rows and columns where on the page, was this

Code: Select all

<div class="col-sm-3">
Each column has this divide code.

The number on the end is a mathematical calculation.

The reason why the four pre-set columns have the number 3 is because 3x4=12.

So if you had only 3 columns, then they would all have a 4 on the end because 4x3=12.

If you have 6 columns, then all 6 columns must have a 2 on the end because 2x6=12.

I want to make 5 columns, so to do 5 columns across, I broke the numbers up like this,
2+3+2+3+2=12

And this is how you center your columns, no matter how many columns you have!
And 12 is the most columns you can have going across.

Remember to use this

Code: Select all

<div class="row">
to start a new row.

Here's more info

Active Member

Posts

Joined
Wed Nov 26, 2014 1:29 pm
Who is online

Users browsing this forum: No registered users and 86 guests