Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

order confirmation page


Recommended Posts

Hi

 

Just trying to put the finishing touchs to our new site.

 

On the checkout confirmation page where boxes such as Products, Delivery Address, Billing Address and Shipping Method appear, under shipping method it shows as   Flat Rate () I would like to remove () if possible but gain seem to be looking in all the wrong places. (also is it a good ideato remove these () or are they required.

 

Many thanks

 

Grandpa

Link to comment
Share on other sites

@@grandpaj

 

Hi John,

 

I did report this here: http://www.oscommerce.com/forums/topic/396152-bootstrap-3-in-2334-responsive-from-the-get-go/page-58#entry1709152

It's due to define('MODULE_SHIPPING_FLAT_TEXT_WAY', ''); having an empty value in "catalog\includes\languages\english\modules\shipping\flat.php".

Standard osc contains a value so the brackets appear with text in normal osc checkout confirmation. It's not really a bug but something that probably needs attention where a check is put in place so that an empty value won't display the brackets.

 

We'll see what @@burt suggests to correct the issue when he comes online.

 

cheers

My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Link to comment
Share on other sites

@@grandpaj

 

Yes well.

 

As per my solution from the link in my post above; quote: "Probably easier to fill the defines than check for null values", since there are a number of files to modify to get rid of the empty brackets. (Not sure why the brackets weren't placed in the language files to start with) 

 

The brackets contained text in previous versions of osc. You can change the text in the language files to suit. 

 

The only option here is to enter text. It's not just the "flat rate" that's affected. It's also "item" and "table" rates.

This line: define('MODULE_SHIPPING_******_TEXT_WAY', ''); needs to modified in each language file.

 

cheers

My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Link to comment
Share on other sites

@@Tsimi

@@grandpaj

 

The previous versions of osc (i.e. all 2.3 series except bs, probably osc2.2 series as well, not sure though) contained something like this in the shipping module language files:

define('MODULE_SHIPPING_FLAT_TEXT_WAY', 'Best Way');

Flat, Item and Table all had  'Best Way'.

Zones had 'Shipping to'.

 

I think it's a way to show how you were shipping the products for the respective shipping modules. 'Best Way' was put in by default.

You could put in whatever you wanted i.e. Courier, Snail Mail, Australia Post, Jetcar, Space Shuttle :)

 

In bs version Zones still contains define('MODULE_SHIPPING_ZONES_TEXT_WAY', 'Shipping to'); but Flat, Item and Table are empty?

 

Zones has been left populated because it displays something like this "Shipping to AU : 18 lb(s)"

 

cheers

My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Link to comment
Share on other sites

@@grandpaj

 

I see why the brackets weren't put in the language files. In "checkout shipping", where the list of shipping options/costs appear, if this isn't empty -> define('MODULE_SHIPPING_FLAT_TEXT_WAY', 'Best Way'); then it will look odd with brackets when (Best Way) is displayed under Flat Rate, due to the way the layout is formatted. But looks ok in "checkout confirmation" Flat Rate (Best Way).

 

I guess these language definitions weren't designed to be empty. :)

My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Link to comment
Share on other sites

@@auzStar

 

Somewhere Ive stuffed up, And now get this message, not sure for how long or when this might have been caused.

Ive tried the obvious fix like upladin the sipping file but no go, any clues what Ive managed to do.

 

Warning: include(includes/modules/order_total/ot_subtotal.php): failed to open stream: No such file or directory in /home/grandp/public_html/includes/classes/order_total.php on line 26

Warning: include(includes/modules/order_total/ot_subtotal.php): failed to open stream: No such file or directory in /home/grandp/public_html/includes/classes/order_total.php on line 26

Warning: include(): Failed opening 'includes/modules/order_total/ot_subtotal.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/grandp/public_html/includes/classes/order_total.php on line 26

 

Fatal error: Class 'ot_subtotal' not found in /home/grandp/public_html/includes/classes/order_total.php on line 29

 

Many thanks

grandpa

 

Link to comment
Share on other sites

@@grandpaj

 

Hi John,

 

First, make sure this file exists "catalog\includes\modules\order_total\ot_subtotal.php" and test first.

 

Otherwise...

If you modified the files from burt's post above, just restore them from backups or upload fresh copies from the GOLD package for both of those files.

Make sure you're following the same folder paths as shown at the top of the pages when viewing the links above for each file.

 

cheers

 

 

My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...