Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Basics for design


toyicebear

Recommended Posts

  • 4 weeks later...
  • Replies 1.5k
  • Created
  • Last Reply
Link to comment
Share on other sites

 

Since a lot of new users dont know where to start.....

 

 

You are right friend....

 

I want to remove the default contents of the home page especially ...

The table under the heading ... new products for (months name) may....

 

 

Thanks in advance friends

Link to comment
Share on other sites

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

I can find how to get the specialprice BELOW the normal price !

 

Now I have :

 

$221,894 $172,030

 

But I would have it like this :

 

$221,894

$172,030

 

hope somebody can help

 

Thanks anyway

Link to comment
Share on other sites

There are many ways...but the easiest is probably to just edit the code and add in a <br /> between the two prices.

Link to comment
Share on other sites

in catalog/includes/modules/product_listing.php find :

 

</del>  <span class="productSpecialPrice">'

 

changed by

 

</del>  <br /><span class="productSpecialPrice">'

 

 

I am just a cook, I know how to cook and fried lettuce :P

Link to comment
Share on other sites

Anyone could help me? Thanks a lot.

The banner is not displayed on my web shop skytechking.com. i have chosen the banner group"480x50", but it still doesn't show.

i edit footer.php

<?php

if ($banner = tep_banner_exists('dynamic', '468x50')) {

?>

<br>

 

to

 

<?php

if ($banner = tep_banner_exists('dynamic', 'banners')) {

?>

<br>

the banner still doesn't show.

Any one could help me? or tell me how to make the banner show. Thanks very much.

Juby

Link to comment
Share on other sites

you dont have to edit the original footer.php to show the banner. Depending on the addons you have, like front page, etc..you have to look if there is one where you have to set it on TRUE

Link to comment
Share on other sites

you dont have to edit the original footer.php to show the banner. Depending on the addons you have, like front page, etc..you have to look if there is one where you have to set it on TRUE

The banner showed well, it doesn't show when i uploaded a new banner, it doesn't show again.

 

I have modified the banner many times, it shows well, but this time I have tried many ways, it still shows in the bottom.

 

 

i have chosen the banner group"480x50", but it still doesn't show, it shows in the bottom.

I restored the original file footer.php, the banner area goes blank, it still shows in the bottom.

then i installed the banner box, installed under module/box successfully. but the banner still show in the bottom.

i edit footer.php

<?php

if ($banner = tep_banner_exists('dynamic', '468x50')) {

?>

<br>

 

to

 

<?php

if ($banner = tep_banner_exists('dynamic', 'banners')) {

?>

<br>

 

the banner still doesn't show correctly.

My footer.php code is

<?php

/*

$Id$

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2010 osCommerce

 

Released under the GNU General Public License

*/

 

//require(DIR_WS_INCLUDES . 'counter.php');

?>

 

<?php

if ($banner = tep_banner_exists('dynamic', '468x50')) {

?>

 

<div class="grid_24" style="text-align: center; padding-bottom: 20px;">

<?php echo tep_display_banner('static', $banner); ?>

</div>

 

<?php

}

?>

 

<script type="text/javascript">

$('.productListTable tr:nth-child(even)').addClass('alt');

</script>

 

 

Would you like to help me ? Thanks very much.

Juby

Link to comment
Share on other sites

kozak

 

Also you can change in your CSS file line 1188 or around there this

.az_productPrice s, .az_productPrice2 s {
   color: #454545;
   font-size: 12px;
   font-weight: normal;
}

with this

.az_productPrice s, .az_productPrice2 s {
   color: #454545;
   display: block;
   font-size: 12px;
   font-weight: normal;
}

Link to comment
Share on other sites

Hello people,

 

I have a frustrating problem regarding the styling of the 'Reviews' pages on my site.

Here is a link which shows the problem:

http://www.edenbenatural.co.uk//minty-heaven-vegan-organic-soap-bar-pri-32.html?reviews_id=2

 

As you will see the image and one button have overlapped the right column.

This seems to be an issue with a Div Style under the Div Class = "contentContainer" where the element style width is set to 20px. If I remove this Width rule using my developer tools in Chrome it aligns correctly.

 

However I cannot find this width rule under any of my style sheets - does anyone have an idea where to find this, any help is much appreciated.

Link to comment
Share on other sites

Hello Jim,

 

Thanks for the advice. I have a similar plugin with Crome. Both browsers are showing the culprit to be:-

 

 

element.style {

  • float: right;
  • width: 20px;
  • text-align: center;

}

but unlike all the other CSS and HTML, this markup does not have a link to the right of the developer box which shows its location on a stylesheet. Thats what's stumping me at the moment!

Link to comment
Share on other sites

element.style means that it's in the HTML and not in a stylesheet. You'll have to track down the code that generates that HTML. In a normal copy of osCommerce 2.3.3 that would be on Line 61 of catalog/product_reviews_info.php. Your URL rewriter is making it impossible to tell if that's still correct.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

in Chrome, Safari and Opera this page looks not good. renamed your catalog/product_reviews_info.php and paste a virgin one to see the difference. If it shows ok in all browsers you can compare both files to look where's the difference

 

Good Luck

Kozak

Link to comment
Share on other sites

Dear Polak Greecom,

 

tanks a lot for your advice. I have another issue. Could it be possible to display between the 2 prices the DISCOUNT PERCENTAGE?

like :

100,00€

-50%

50,00€

 

thanks for support

regards

Kozak

Link to comment
Share on other sites

Hello Jim and Kozak,

 

Thank you for the spot on advice. The problem did lay in the catalog/product_reviews_info.php file. Line 61 called for Small Image Width +20px. I removed the +20px and it works fine. Thank you for your help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...