♥jailaxmi Posted October 7, 2006 Posted October 7, 2006 HI, I don't want to start messing up with code and screwing up my live store, so I want to make sure I do it right with the advice of the code experts here... ;-) I want to remove the shopping cart box from the top right column and place the "What's New?" box instead, so that it shows up right away as people enter the site. They can always click on the "Cart Contents" if they want to see the products the're purchasing. Also, is there a way to reduce the number of "Bestsellers" so that they don't take so much space. As it is now, it sows 10 and I'd rather have 5 and then the Specials showing up right after. Thanks in advance for any help! jailaxmi I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
Guest Posted October 7, 2006 Posted October 7, 2006 Hi Open includes/column_right.php. Find the following line of code require(DIR_WS_BOXES . 'shopping_cart.php'); Changing the code as suggested below by commenting it out will mean that if you wish to replace the box back into the column, you just have to remove the comment tags. /*require(DIR_WS_BOXES . 'shopping_cart.php');*/ Now go to includes/column_left.php (if you still have the default settings for the columns) and find the following line of code require(DIR_WS_BOXES . 'whats_new.php'); Copy and paste this code into column_right.php, either above or below the shopping cart code that you commented out. This will in effect, place the whats new box in the position that the shopping cart box was in. Now go back to column_left.php and comment out the line of code you copied.
♥jailaxmi Posted October 7, 2006 Author Posted October 7, 2006 Hi Open includes/column_right.php. Find the following line of code require(DIR_WS_BOXES . 'shopping_cart.php'); Changing the code as suggested below by commenting it out will mean that if you wish to replace the box back into the column, you just have to remove the comment tags. /*require(DIR_WS_BOXES . 'shopping_cart.php');*/ Now go to includes/column_left.php (if you still have the default settings for the columns) and find the following line of code require(DIR_WS_BOXES . 'whats_new.php'); Copy and paste this code into column_right.php, either above or below the shopping cart code that you commented out. This will in effect, place the whats new box in the position that the shopping cart box was in. Now go back to column_left.php and comment out the line of code you copied. Thanks so much!!! I knew it wouldn't be difficult, I just didn't want to take the chance of messing things up now that the store is live... jailaxmi I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
ddp Posted October 8, 2006 Posted October 8, 2006 Thanks so much!!! I knew it wouldn't be difficult, I just didn't want to take the chance of messing things up now that the store is live... jailaxmi If you don't want to mess up your store set up a test store in a subfolder and make your changes there first. Then once you know it works you can copy the files from your test store to you live store and you should not have any problems. Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
♥jailaxmi Posted October 8, 2006 Author Posted October 8, 2006 If you don't want to mess up your store set up a test store in a subfolder and make your changes there first. Then once you know it works you can copy the files from your test store to you live store and you should not have any problems. Thanks! That's a good idea. jailaxmi I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.