Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ugh, newbie, I know what I want how do I get it.


badinstincts

Recommended Posts

Posted

I want my site to look and function pretty much exactly like velvetego.com for now I just want it exactly the same pretty much.

 

Please help me figure out how to get the menus and everything look and function like on that site.

 

I obviously will be changing the backgrounds, but at least lets just copy them and then I'll edit them in photoshop once the site is how I want it. The buttons and menus look fine, i'll tweak the colors once its pretty much like that site.

 

I will be selling hair products on my site. Which for now is colortesssalon.com and as you can see it was just started and I keep messing something up and I have to install a fresh copy of osc every 2 hours, lol. I've been reading this forum for the past 4 days for like 8 hours a day, and all I really figured out is how to center the page with a contribution, without messing the whole page up, lol.

 

I know basic html and its very simple to me. I used to know some basic perl and vb but that was 10 years ago. I see whats going on with all the php files and how they communicate and everything, and how echo commands write the html pages to display, but its just sooooo hard to find how to change anything, please just help me get my site how I need it to look.

 

I have no idea how databases work and I really want to learn about that too.

 

I know this is an extremely common situation that you guys get, but at least I know exactly how I want my site to look, I looked at hundreds of sites and thats what I want.

Posted

Trust me I read a lot of that stuff, and it will take me a month or 2 to figure it out on my own without asking for anyones help. Right now I'm trying to figure out how to change the manufacturers box to have individual links, like on velvetego. I know I need to change the code in manufacturers.php but I dont know how to change the code... See what I mean... velvetego.com doesn't appear to be that complicated. Its has a few boxes, drop down menus and the rest is pretty much stock OSC...

Posted
Right now I'm trying to figure out how to change the manufacturers box to have individual links

Links to what? Why do they have to be in the manufacturers box? If it is a manufacturer add it from the admin. If they are links to other pages in your store look at these.

Articles in 'Boxes

Add Links to Boxes

Posted

Do you think I should just use html and edit everything one at a time? My site will be english only for sure. When I'm ready to go international I'll pay someone to design a site, lol. It will just take more time when I add new products from different manufacturers as I have to go back and add that link to the manufacturers box, but with OSC being as complicated as it is, wouldn't html code just be simpler for my purposes?

Posted

If you look on my site its the stock OSC drop down menu, I was asking how I can change it from the stock drop down menu to actual individual links instead of a drop down menu, like you can see on velvetego.com

Posted
but with OSC being as complicated as it is, wouldn't html code just be simpler for my purposes?

You can't use html only. The links must be in the tep_href function of osc to carry the session through. If you don't use that you will break your cart.

 

I suggest learning a little bit of php, mysql and osc. It isn't as complicated as you think. If you actualy read all the links I gave you you would start to see how easy it can be.

Posted
If you look on my site its the stock OSC drop down menu, I was asking how I can change it from the stock drop down menu to actual individual links instead of a drop down menu, like you can see on velvetego.com

Go to Admin-->Configuration-->Maximum Values. Click on Manufacturers List. Change the number to a higher number than manufacturers.

Posted
Go to Admin-->Configuration-->Maximum Values. Click on Manufacturers List. Change the number to a higher number than manufacturers.

 

I fixed it. I messed up the manufacturers.php file, so I replaced it now it works, Yay. 1 thing solved.

Posted
You can't use html only. The links must be in the tep_href function of osc to carry the session through. If you don't use that you will break your cart.

 

I suggest learning a little bit of php, mysql and osc. It isn't as complicated as you think. If you actualy read all the links I gave you you would start to see how easy it can be.

 

aha you see, I didn't read that anywhere, I would have screwed up my whole site.... thanks

Posted

lol, look at my site now. Tired as hell, its 2:30am, time to sleep. I'm learning all the little modification stuff, so hopefully I can make my own modifications rather than copy them, but this is a decent way to learn something quickly...

I dont even know what I need help with right now, I'm too tired, I'll ask tomorrow when I run into a roadblock.

 

actually, i would like to know what the code in header.php should be for me to add a LOGIN and LOGOFF button that changes depending on whether your logged in or not...

 

<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

 

I know I need this code modified and added to the top of the one above

 

<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  | 

 

But I need an else statement and I tried and tried and it just totally destroyed my whole site and I had to reinstall osc... annoying

Posted

Lol an hour an a half later I wrote the code myself. LoL, I really need to go to sleep now, my wife will kill me!

Here is what I added

 

<?php if (tep_session_is_registered('customer_id')) {

echo '<a href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_LOGOFF) . '</a>' ;

} else echo '<a href="' . tep_href_link(FILENAME_LOGIN, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_LOGIN) . '</a>'; ?>

 

you need to change the images for each one. so that its not the same image like I have for now...

 

php is just like perl but i was about to hang myself when I was getting an error, I was missing the . in one place

Posted

How do I make a Shopping Cart (12) type link? So instead of just saying shipping cart, it says how many items you have in your shopping cart without images. Like on macys.com

Posted

HELP! I removed the right column, but the contents dont stretch to the rest of the page now where the right column was, how do I fix this and also adjust the left column as it sticks out a little for some weird reason... but when you click on a catagory link or manufacturer link the left column is how I want it, except on the home page ... colortesssalon.com

Posted

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

haha, thanks, i didn't even notice the table there, I'm just really tired, i fell asleep at like 5 and woke up at 9... I just used

<?php

/* <td xxxxxxx

 

all the way to

</td>

*/

?>

 

works perfectly. whats the point of using an if false, doesn't make sense....

 

for some amazing reason on the index page the left column doesn't stick out to the left like it did before, I guess because the tables has minimum sizes and since there is no right column now, there is more room, yay

Posted
works perfectly. whats the point of using an if false, doesn't make sense....

That statement always evaluates to not true so the right column never shows.

 

In the future, should you want it back, change false to true and it appears!

;)

 

I just set it up so it was easy to have the right column back.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

actually I guess your way is not that bad either. you just need to change one word and the table will work again, where I need to remove all the code I just added, I think I'll change it to yours... thanks

Archived

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

×
×
  • Create New...