Jump to content
Latest News: (loading..)

Recommended Posts

Posted (edited)

This is happening on most images in CE, look at any product info page and on refresh parts jumps about on image refresh.

http://www.justfastfood.com/product_info.php?products_id=28

Edited by JcMagpie

I'm using the cutting Edge v2.3.4.1 CE:thumbsup::smile:

Get the latest osCommerce Online Merchant Community Bootstrap Edition v2.3.4.1 CE

 

Share this post


Link to post
Share on other sites

The navbar movement is likely to be visible on mobile; the rest probably not. I'd stick with fixing that if it bothers you.

If you want to eliminate content moving altogether, you'll need site-specific solutions and lots of core changes. IMO CE does it very little and your time would be better spent investing in good content and SEO. As far as user experience is concerned, loading in a fraction of the time of a wordpress site is much more significant.

However, if you want to set the minimum height of the gallery container to stop the buttons at the bottom of the product page moving, you can do it in user.css with media queries for the various layouts.


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce here: https://github.com/gburton/osCommerce-234-bootstrap/archive/master.zip

 

For Github users: Bootstrap addons - one per branch - https://github.com/BrockleyJohn/Responsive-osCommerce/wiki/Overview-of-Branches

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites

Ok needs something a bit cleverer

ol.breadcrumb:first-child a { display: inline-block; width: 16px; }

 


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce here: https://github.com/gburton/osCommerce-234-bootstrap/archive/master.zip

 

For Github users: Bootstrap addons - one per branch - https://github.com/BrockleyJohn/Responsive-osCommerce/wiki/Overview-of-Branches

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites
5 minutes ago, BrockleyJohn said:

Ok needs something a bit cleverer


ol.breadcrumb:first-child a { display: inline-block; width: 16px; }

 

Yes that defiantly stops the jerking on breadcrumb. But look what its done to it. Or have I missed somthing?

image.png.c5f781c293b9fc1f3b4755fcc121a735.png


I'm using the cutting Edge v2.3.4.1 CE:thumbsup::smile:

Get the latest osCommerce Online Merchant Community Bootstrap Edition v2.3.4.1 CE

 

Share this post


Link to post
Share on other sites

something i have just noticed. 

it is possible for the list of categories to go all over the place, if one or two of them, go over two lines (e.g. if you use a category width of 2 and have a category with a long title)

  i seemed to fix it at least on the quick test on my site it was doing it on and on the clean frozen version

in the tpl_cm_in_category_listing.php, I just added to the second line

class="row list-group"

and that's all.

 

Share this post


Link to post
Share on other sites
Posted (edited)

@BrockleyJohn @JcMagpie

I checked my old edge installation from a year ago and this sort of jerkiness is not there. Because of change to vector is why this is happening?

It doesnt seem normal. Having a jerky website. There is no way to fix this?

Edit: I installed Auto update quantity and price in Shopping Cart. Makes it very annoying on page refresh.

Edited by CGhoST

Share this post


Link to post
Share on other sites
Posted (edited)

Ok I will try than and see if it works.

The product info page can be made stabel by adding a container to the the relavent page file and using this in user.css But it will only work if you have one image. For Gallery needs better solution.

.image-container {
  position: relative;
  padding-bottom: 75%; /* ratio of image height to width  640x480*/
  height: 0;
  overflow: hidden;
}
 
.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.image-container {
  /* original styles here */
  background-color: #ffffff; /* light white image placeholder */
}

 

Edited by JcMagpie

I'm using the cutting Edge v2.3.4.1 CE:thumbsup::smile:

Get the latest osCommerce Online Merchant Community Bootstrap Edition v2.3.4.1 CE

 

Share this post


Link to post
Share on other sites
24 minutes ago, wHiTeHaT said:

a fix preventing the flickering could be:
CSS:


body {
  display: none;
}



little JS in template_bottom.php
 


<script>
  $("body").fadeIn(100);
</script>

 

:thumbsup:Much better solution works on all pages and stops all jerking even images. I had to change too 1000 to make it work but I think that be smaller.


I'm using the cutting Edge v2.3.4.1 CE:thumbsup::smile:

Get the latest osCommerce Online Merchant Community Bootstrap Edition v2.3.4.1 CE

 

Share this post


Link to post
Share on other sites

Another bug: admin/includes/classes/phplot.php throws the error unexpected } on line 1322.

Add a curly bracket to the end of line 1320, like this:

		if (is_array($color_asked) && (count($color_asked) == 3)) {
	   		$ret_val =  $color_asked;
		} else { // is asking for a color by string

...if you have any need to use banner manager


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce here: https://github.com/gburton/osCommerce-234-bootstrap/archive/master.zip

 

For Github users: Bootstrap addons - one per branch - https://github.com/BrockleyJohn/Responsive-osCommerce/wiki/Overview-of-Branches

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites
37 minutes ago, wHiTeHaT said:

a fix preventing the flickering could be:
CSS:


body {
  display: none;
}



little JS in template_bottom.php
 


<script>
  $("body").fadeIn(100);
</script>

 

Does it matter where you put the JS code in template_bottom.php ?

I have put it at the start of the file after the first ?>

Does a nice job

Share this post


Link to post
Share on other sites
On 6/2/2018 at 11:03 AM, Jack_mcs said:

6 - In includes/template_top.php, change the version number to the current one because some icons being used won't work in V 5.0.6.


<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>

to


<script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js"></script>

The latest now is:

<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/all.js"></script>

 

Share this post


Link to post
Share on other sites
Posted (edited)

1. includes/modules/checkout_new_address.php

with added FORM_REQUIRED_INPUT asterisks:

checkout_new_address.php

 

2. includes/modules/downloads.php

with added panel tags to fit the style of other modules:

downloads.php

Edited by raiwa

Share this post


Link to post
Share on other sites
On 6/2/2018 at 5:11 PM, wHiTeHaT said:

@wHiTeHaTThanks for the links.

I had download few different BS version, last month i download 2.3.4.1 from oscommerce product page, i thought it should be BS version, but somehow I just notice now after install 12 different addons that the front page not doing any size change.......so i am not sure now what exactly which version I should start all over again.....frustrated!!!

Share this post


Link to post
Share on other sites

@ce7

See my reply in your other post asking this same question.

M


If you are running the "official" osC 2.3.4 or 2.3.4.1 download, your installation is obsolete! Get the latest community-supported responsive "Edge" release here

Share this post


Link to post
Share on other sites
Posted (edited)

Is anyone else experiencing problems with the advanced_search_result.php?

product listing gets overlayed

advanced_search_results_bug.thumb.jpg.feb28735154128f16806a2a05a5ca650.jpg

Edited by Owl Sauron

Share this post


Link to post
Share on other sites
Posted (edited)

It seems its just that your side columns are to wide or the center column too small.

The buttons do not fit in the product boxes.

Change the  product listing to 2 columns: admin => modules => content => product listing [ index_products ] =>  Item Width => 6

or change the layout of your product boxes

Edited by raiwa

Share this post


Link to post
Share on other sites
3 hours ago, raiwa said:

It seems its just that your side columns are to wide or the center column too small.

The buttons do not fit in the product boxes.

Change the  product listing to 2 columns: admin => modules => content => product listing [ index_products ] =>  Item Width => 6

or change the layout of your product boxes

its not producing any changes on the advanced_search_results.php, Rainer...

Share this post


Link to post
Share on other sites

Oh, yes. advanced_search_result.php still uses the old product_listing.php module.

There it is hardcoded:

  // php 5
  $list_group_item = (isset($item_width) ? $item_width : 4);
  // php 7
  // $list_group_item = $item_width ?? 4;

change 4 to 6

or try:

// php 5
  $list_group_item = (defined('MODULE_CONTENT_IP_PRODUCT_LISTING_CONTENT_WIDTH_EACH') ? MODULE_CONTENT_IP_PRODUCT_LISTING_CONTENT_WIDTH_EACH : 4);
  // php 7
  // $list_group_item = $item_width ?? 4;

 

Share this post


Link to post
Share on other sites
On 06/06/2018 at 11:35 AM, raiwa said:

Fix for currency update via fixer:

And previous post with instructions to get the Access Key

I made this available via the configuration menu in admin

admin/includes/application_top.php
Find:

// Define how do we update currency exchange rates
// Possible values are 'oanda' 'xe' 'fixer' or ''
// fixer is the lastest added, more details at http://fixer.io
  define('CURRENCY_SERVER_PRIMARY', 'fixer');
  define('CURRENCY_SERVER_BACKUP', '');

Change to:

// Define how do we update currency exchange rates
// Possible values are 'oanda' 'xe' 'fixer' or ''
// fixer is the lastest added, more details at http://fixer.io
  define('CURRENCY_SERVER_PRIMARY', PRIMARY_CURRENCY_SERVER);
  define('CURRENCY_SERVER_BACKUP', BACKUP_CURRENCY_SERVER);

admin/includes/functions/localization.php
Find:

    $ch = curl_init('http://api.fixer.io/latest?base=' . $from . '&symbols=' . $to);

Change to:

    $ch = curl_init('http://data.fixer.io/api/latest?access_key=' . FIXER_ACCESS_KEY . '&base=' . $from . '&symbols=' . $to);

Database: (You can change the sort_order numbers if needs be)

INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES
('', 'Backup Currency Converter', 'BACKUP_CURRENCY_SERVER', 'xe', 'Backup currency converter different from Primary.<br>Fixer requires sign up for access key.', 1, 30, '2018-06-07 12:23:02', '0000-00-00 00:00:00', NULL, 'tep_cfg_select_option(array(\'oanda\', \'xe\', \'fixer\'),'),
('', 'Primary Currency Converter', 'PRIMARY_CURRENCY_SERVER', 'oanda', 'Primary currency converter.<br>Fixer requires sign up for access key.', 1, 29, '2018-06-07 12:22:54', '0000-00-00 00:00:00', NULL, 'tep_cfg_select_option(array(\'oanda\', \'xe\', \'fixer\'),'),
('', 'Fixer.io access key', 'FIXER_ACCESS_KEY', '', 'Fixer.io currency converter access key', 1, 28, NULL, '0000-00-00 00:00:00', NULL, NULL);

 


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P


Support The Project
Documentation/Knowledgebase/Discussions
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×