Jump to content

Archived

This topic is now archived and is closed to further replies.

Mort-lemur

Modding-Up a new 2.3.3.4 Install - Documented

Recommended Posts

CKEditor was the next mod to install:

 

CKEditor, Link: http://addons.oscommerce.com/info/7650

 

Install was easy, however - I want the ability to choose which text boxes the editor appears on so it needed some changes as follows:

  1. Fully install the mod with the exception to the changes to catalog/admin/includes/template_top.php - instead, use the code below:

<!-- BOF CKEditor by escri2 -->
<?php
if (USE_CKEDITOR_ADMIN_TEXTAREA == "true") {
?>
<script type="text/javascript" src="<?php echo tep_href_link('ext/ckeditor/ckeditor.js'); ?>"></script>
<script type="text/javascript" src="<?php echo tep_href_link('ext/ckeditor/adapters/jquery.js'); ?>"></script>
<?php
}
?>
<!-- EOF CKEditor by escri2 -->

 

2. Then in the tep_draw_textarea_field add the 'class="ckeditor"' as the 6th parameter, so for example to include ckeditor in the product description entry open admin/categories.php and change:

 

<td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (empty($pInfo->products_id) ? '' : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td>

 

To

 

<td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (empty($pInfo->products_id) ? '' : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])), 'class="ckeditor"'); ?></td>

 

This took a bit of working out and a lot of trial and error....

 

(above changes credit to nobodyfamous (Chad Meyers) for his forum post Feb 2012

 

Backup time.........


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

This is probably my most essential admin mod - other than payment modules :) Gives a searchable screen showing orders at the status you can select, or by name, it also shows what items were ordered etc - Invaluable and I use it all day..

 

Orderlist, Link: http://addons.oscommerce.com/info/8329

 

Easy install, only change needed is in admin/orderlist.php

 

Change:

$records = mysql_num_rows($result);

 

to

 

$records = tep_db_num_rows($result);

 

Code change thanks to Burt (Gary) from his forum post

 

If the fields give too much data for your needs comment out the individual echo fields you dont require between lines 392 and 420 of admin/orderlist.php


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Choose Destination on Log-In if cart has Items

 

Link: http://addons.oscommerce.com/info/8751

 

Simple 2 Mins install, changed language file to suit my personal preferances for wording.

 

Back Up again...........


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

I've just recently installed v2.3.3.4 too, so thank you very much for this very useful and informative thread!

Share this post


Link to post
Share on other sites

Had most of the day off - had visitors, but back to the update now....Again two of my "Essential to Have" admin modifications. These two modifications allow you to create a new customer from the admin panel, or add or edit an order for an existing customer. I use this facility several times a day and it is invaluable for taking telephone orders without having to something as basic as logging in as the user - everything is done easily via admin.

 

Do the mods in the following order:

 

Order Editor, Link: http://addons.oscommerce.com/info/7844/v,23 went without a hitch and works fine.

 

Create Account & Manual Order Maker, Link: http://addons.oscommerce.com/info/8334 - again an easy install and works as it should.

 

Backup again...........


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Time for some light relief... set up some of the simple payment methods

  • Installed Check/Moneyorder module from admin page - changes made to the associated language file to change "check/moneyorder" to the english version of "cheque" - set sort order as high as this is my least preferred payment method.
  • Paypal Standard payment module - again easy install via admin - will fill in the details later + add security key etc.
  • Cash on Delivery - I dont offer CoD but do offer Cash on Collection - so a simple change to the CoD Language file.


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Next Payment module: Bank Transfer Payment,

 

Module Link: http://addons.oscommerce.com/info/285

 

Easy install, just 2 files then install and configure via admin. I set this as the lowest sort order as it is my preferred payment option (no card fees !)


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Last of the Easy Payment modules I use: Telephone with card payment - Lets the customer raise the order on your store then phone to make payment - some customers have an aversion to paying online and prefer to call you.

 

Link: http://addons.oscommerce.com/info/8344

 

Again an easy install, just 2 files then install and configure via admin.


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Ok my final payment module - Barclays EPDQ CPI

 

Link: http://addons.oscommerce.com/info/4357 - Install as easy as any other module.

 

Note: Although it installs and shows as it should on the site at present I have no Idea if it functions correctly as It cannot be used "Live" until the shop is calling from its correct domain - similar with the callback routine.

 

This is the EPDQ module I use on my 2.2 stores - It works for me - it may not work for you, and it is still unproven by me on 2.3.3.4. Fingers Crossed....

 

Time to backup.......


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Now to start on the shipping modules, the first being collect in person

 

Link: http://addons.oscommerce.com/info/4633 easy install

 

As I have already set the cash on collection module above I only use the shipping module out of this contribution.


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Tried to install the Kiss IT Image Thumbnailer by FWR Media.

 

All goes well upto the changes to the product info page - then the bxgallery and image sizes get a bit odd - have posted on the contribution support thread re this problem.


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Favicon Icon Module installed:

 

Link: http://addons.oscommerce.com/info/8444 only 2 files then install through admin and add your favicon item to the site root.


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Google XML Sitemap installed and working without issues.

 

Link: http://addons.oscommerce.com/info/6583

 

5 min install

 

Another Backup


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

OK Kiss Image Thumbnailer does work - It was a problem on my side as follows:

 

I had the permissions of catalog/includes/configure.php set to 444 which was preventing filezilla writing the modified file back to the server, and I didnt notice the failed transfer! Sorted this out and now it works.....

 

Something to watch for - Ill leave it at 644 until I have finished modding....

 

Link to KissIT Image Thumbnailer: http://addons.oscommerce.com/info/8495


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Monthly Sales / Tax Report Installed without issue, a few new files and a couple of easy file edits. Works as it should

 

Link: http://addons.oscommerce.com/info/8078

 

Backup Time..........


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Must Accept Terms and Conditions - Easy install - just a few edits to 2 files:

 

Link: http://addons.oscommerce.com/info/8664

 

Just need a few changes to the language files to suit my own needs...


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Multi - Geo Zone Multi Table shipping installed and working

 

Make sure that you install the replacement module provided by knifeman - or it wont work on 2.3.3.4

 

Link: http://addons.oscommerce.com/info/8136

 

Now to try and remember how to change the displayed shipping weight units.....


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Now to try and remember how to change the displayed shipping weight units.....

 

Found it eventually - the word ounces is hard coded in to catalog/modules/shipping/mzmt.php at around line 53 - change this to "Kg" and all is good.


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Generic Box Installed, Easy Install, and works as it should.... Im keeping it disabled for the time being, but its always there in case I suddenly need an extra box in the left or right column.

 

Link: http://addons.oscommerce.com/info/7802

 

Backup again...........


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Heather. Well done for documenting your new setup. So far it makes great reading. I wish you well.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Heather. Well done for documenting your new setup. So far it makes great reading. I wish you well.

Thanks Steve, There is method in my madness though - If I document everything as I do it on here - I then have a good reference if anything goes wrong (and Im sure it will) - and I can look back on it in the future if I need to.

 

Currently removing the admin horizontal menu bar I added in one of the posts above and replacing it with nice 2.3 style buttons, and changed the plain text "Remove from Cart" link with a 2.3 style button - Thanks to a post on Multimixers Blog - Thanks George

 

Only a few admin mods to do now before I start on the look of the new shop.

 

To make the eventual database migration a little easier I have already imported the geozones (counties and Countries) and order statuses I use from one of my existing stores - went quite painlessly.

 

Building myself up now to installing option types V2 - which if I remember right is quite a big install - made more complicated in the fact that the 2.3.x version has had some bad press - Guess Ill just have to make a backup and go for it.

 

Then I will have to make a final decision on which way to go with SEO mods - Header tags and URL rewriting.......


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Hi Heather,

 

remember the include/classes/shopping_cart.php in the option types that is where most of the problems were.

 

PS: chemo urls works on a 2.3.3.4 even though the file does mention mysql_ in the include /classes/seo.class.php

 

Personally had a problem with the file disappearing on my server but think 99% this was due to a false positive in a server virus scan .

 

Regards

Joli


To improve is to change; to be perfect is to change often.

 

Share this post


Link to post
Share on other sites

Started looking at error log now and correcting anything found as I test.

 

Collection in Person shipping module has 2 instances of "split" which is depreciated in 5.3 + so change both instances to preg_split


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Option types 2. on the back burner for now - spent 2 hours installing it and had big problems - reverted to a backup for now.

 

Grrrrr!


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Couple more errors in the logs due to depreciated functions, both in admin/stats_monthly_sales.php

 

Change both instances of ereg_replace with preg_replace as follows:

 

line 234

<td class="smallText"><a href='<?php echo $_SERVER['PHP_SELF'] . "?" . preg_replace('/&invert=yes/','',$_SERVER['QUERY_STRING']);

 

line 628

$field = preg_replace("/,/","",$field);


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

×