Jump to content
burt

Responsive osCommerce - Bootstrap

Recommended Posts

Hi,

 

ive redone the installation using another version (gold) and all is working fine, just wondering though is there a place where i can learn to make my own modules? i want to add something from my website to it, ive had a look through the module files and can't quite work out how to do what i want to do.

 

Nathan

Share this post


Link to post
Share on other sites

What exactly is it you want to add? There probably is a module already available perhaps, but I need to know what feature you are looking for. Here is a link to the main addon page as well for your reference or sometimes you can actually find things easier by googling "oscommerce + bla, bla, bla" and you usually get some good hits there http://addons.oscommerce.com/

Share this post


Link to post
Share on other sites

I just instealled Edge.  So there is a lot of work to do!

 

Thank you everyone for all the hard work both currently and past.

 

Is the intention of this distro just basic store and stability?   or to include as many feature/modules as possible?

 

I understand OSC is made to be modular, so in an ideal world, you could have a basic store and download and plug in modules as you see fit.    But we all know it doesn't work that way because many modules are not just plug in and some take quite a bit of work to integrate and many more don't work at all.. 

 

I don't know if this has been suggested,  but I know it's been talked about since the inception of OSC, the location of "Post Code" and the name itself.   Would seem to make since to have the location configurable so one could move it around and a field to edit the name.   Just a thought..

 

Pricing live update when using product attributes...   Built in SPPC.. 

 

That's my input for right now...  Let me get rollin' and hopefully I'll be able to contribute more lol

 

-ThaChad

Edited by ThaChad

Share this post


Link to post
Share on other sites

Hello

I have BS up and running however noticed that:

 

includes/template_top.php

<link href="ext/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <!-- font awesome -->

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">

 

I did not like the external website reference and downloaded the Zip file from http://fontawesome.io/ and unpacked it to the EXT directory and changed the file permissions to 750.

 

I made the following change

 

<link href="ext/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- font awesome -->
<link href="ext/font-awesome-4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">

 

 

It seems to work and now does not fetch from the external website in case that site is down or slow, my website will still work well.

 

I'm not a coder, is there anything wrong in what I did?

 

Mark.
 

Share this post


Link to post
Share on other sites

Thankyou for the reply. I was reading about the CDN on wikipedia and that link is great! I have  better understanding of this concept.

 

However, my traffic is light on my site (Although it is image weighted) and I prefer to keep things in house so to speak, so in my case a CDN isn't needed yet.

 

So have I changed the code (for my situation) correctly?

 

Maybe the CDN option could be put in the ADMIN panel.

In Australia we have privacy laws witch may conflict with caching images with 3rd parties and private information stored overseas.

 

Thanks wHiTeHaT

Edited by 143books

Share this post


Link to post
Share on other sites

IS there a setting to get the image popups to work?  They show on the main page but dissapear when you click on them.

 

http://craftkits4kids.com/product_info.php?cPath=26_24&products_id=30

 

Running Bootstrap Edge

 

It pops up fine for me - with the text Combined Crafts in the popup. The html section is for embedding videos, not for putting a caption on your picture.


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (Phoenix).

here: on the official osc download page

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

It pops up fine for me - with the text Combined Crafts in the popup. The html section is for embedding videos, not for putting a caption on your picture.

Thank you, eliminated the caption and all is fine.

Share this post


Link to post
Share on other sites

I have a little problem with 2.3.4 Gold responsive with BS 3 that someone might be able to help me with.

 

In sub-categories with no items, there is an alert-info message that says, understandable, "There are no products available in this category."

 

However, since some of my offerings are services, rather than products, the contribution "Sub-Category Textboxes" doesn't display the textbox in these sub-categories.

 

Is there a way around this?

 

TIA


No Good Deed EVER Goes Unpunished

Share this post


Link to post
Share on other sites

I have a little problem with 2.3.4 Gold responsive with BS 3 that someone might be able to help me with.

 

In sub-categories with no items, there is an alert-info message that says, understandable, "There are no products available in this category."

 

However, since some of my offerings are services, rather than products, the contribution "Sub-Category Textboxes" doesn't display the textbox in these sub-categories.

 

Is there a way around this?

 

TIA

 

@@Druid6900 Richard, you're using a pre-BS addon here (unless there's a new version I don't know about). It probably needs a rewrite to do what you want... and it's better discussed in the addon thread rather than here; except to say it's a lot easier to achieve on Edge than Gold.


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (Phoenix).

here: on the official osc download page

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

Thanks, John.

 

You may well be right, but, it works in categories and sub-categories that DO have products, just not the ones that show that alert-info messages, so, I'd say that it isn't a problem with the contribution, but with the bootstrap alert function.


No Good Deed EVER Goes Unpunished

Share this post


Link to post
Share on other sites

Hello People!

Need some little help!

I tried for hours to change the border size and Color from the Category Boxes THE GREEN ARROWS.

How can i change Thickens and Color thicker Like the red arrows.

I managed to change only the border-bottom (red arrows)
In user.css i put this
 
.panel-default .panel-heading {
  border-color: #ded9d5; 
  border-bottom-width:3px;

 

but how can i Change the side and top parts of the border?

post-197040-0-28449900-1469625782_thumb.jpg

Edited by Pelvis

Share this post


Link to post
Share on other sites

Added (easier) text capability to shopping cart buttons:

https://github.com/gburton/Responsive-osCommerce/commit/e63c1715b7a68b52706c6d1c0444ee4bd1bbda6f

 

In addition, filename constants (and by extension:  '/includes/filenames.php') is now deprecated shop-side.

Addon Makers, if you are building for Edge, update your addons.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

In addition, filename constants (and by extension:  '/includes/filenames.php') is now deprecated shop-side.

Addon Makers, if you are building for Edge, update your addons.

 

If updating to latest EDGE, is it worth suggesting to shop owners to leave the "includes\filenames.php" file and the reference to it inside "includes\application_top.php", to give addon makers time to check/update their addons and shop owners to make any other changes. I'm pretty sure my bootstrap addons are OK, but checking them anyway incase I missed something​.

 

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

Share this post


Link to post
Share on other sites

Added (easier) text capability to shopping cart buttons:

https://github.com/gburton/Responsive-osCommerce/commit/e63c1715b7a68b52706c6d1c0444ee4bd1bbda6f

 

In addition, filename constants (and by extension:  '/includes/filenames.php') is now deprecated shop-side.

Addon Makers, if you are building for Edge, update your addons.

 

Hi just came back to OS due to not having shop recently and thought I would use this opportunity to bring my OLD heavily modified shop upto date and installed the new EDGE then I tried some of the addons mentioned in the other thread for BS and noticed filenames.php is no longer supported?

 

Is this a good move? would it not be better to leave this in place as it is very handy when modifying your site especially when you refer to a script from many other scripts (so much easier to just update the filenames.php to point to the new file).

 

or alternatively as suggested above reference to it in application_top ?

Share this post


Link to post
Share on other sites

@@ShaGGy Hi again Les....I was going to say the penny fell but we don't have any any more....so how about the light came on for me when I read and thought about this post by @@bruyndoncx

 

http://forums.oscommerce.com/topic/402638-discussion-about-hard-coded-database-tables/?p=1718825

 

Dan

Share this post


Link to post
Share on other sites

@@ShaGGy Hi again Les....I was going to say the penny fell but we don't have any any more....so how about the light came on for me when I read and thought about this post by @@bruyndoncx

 

http://forums.oscommerce.com/topic/402638-discussion-about-hard-coded-database-tables/?p=1718825

 

Dan

 

Yeah I can see the reason even though there is sense to it I also think it is a major downpoint for OSC as new users will install it and then try installing addons that are no longer being updated etc and find error after error and then abandoning OSC for Magento or Opencart etc etc.

 

It is not a problem for us that know how OSC works as we can just reference to the file (like i have just done) to initially get old addons working and then update them for BS but I think until all the addons are compatible (even the BS ones that are new now don`t work) this will have a detremental effect on OSC popularity.

Share this post


Link to post
Share on other sites

Just had a thought.

 

Why not have a DIR that has the filenames in that reference to the php just like a filenames.php file but instead of a file have a individual one for each reference that way by going modular this can then be removed when uninstalling the module?  or something like this?

 

Then you could reference to it by saying if xxxxx.php (remove .php) matches xxxxx dir use that if not use filenames.php this would enable older addons to work if not reliant on BS to work.

Edited by ShaGGy

Share this post


Link to post
Share on other sites

@@ShaGGy Hi again...

 

 

It is not a problem for us that know how OSC works as we can just reference to the file (like i have just done) to initially get old addons working and then update them for BS but I think until all the addons are compatible (even the BS ones that are new now don`t work) this will have a detremental effect on OSC popularity.

 

You're quite right Les...those of us in the know need to update those contributions as we're installing them.  Frankly most of them need to be reworked anyway.   It's our opportunity to roll up our sleeves and pitch in. 

 

Dan

Edited by Dan Cole

Share this post


Link to post
Share on other sites

Just had a thought.

 

Why not have a DIR that has the filenames in that reference to the php just like a filenames.php file but instead of a file have a individual one for each reference that way by going modular this can then be removed when uninstalling the module?  or something like this?

 

Then you could reference to it by saying if xxxxx.php (remove .php) matches xxxxx dir use that if not use filenames.php this would enable older addons to work if not reliant on BS to work.

 

Or skip all that and just hard code it as is being done.

 

Dan

Share this post


Link to post
Share on other sites

@@ShaGGy  I posted code that would automate the filenames and database tables. No manual updates needed. Nobody was interested.

 

Regards

Jim


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

Share this post


Link to post
Share on other sites

Or skip all that and just hard code it as is being done.

 

Dan

 

How do you mean hard code as being done you mean change filenames.php? that wouldnt be safe if so as someone could write a install that wipes all the contents.

Share this post


Link to post
Share on other sites

An array can be referenced in OSCOM::link() to replace the filename requested if it exists in the lookup array (eg, 'index.php' => 'shop.php'). This array can be built on-the-fly so add-ons can also use it.

 

That would take care of cases where files have been renamed.


:heart:, osCommerce

Share this post


Link to post
Share on other sites

@@ShaGGy

 

Replace FILENAME_XXX with the actual file name ie just eliminate the constants as is done in the core...once the addons are updated...problem solved.  There is no need for filenames.php.

 

Dan  

Edited by Dan Cole

Share this post


Link to post
Share on other sites

Burt don`t forget to change     define('LANGUAGE_CURRENCY', 'GBP'); and make it refer to default countries currency by default.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×