Jump to content

Editing the Printable Packing Slip


Guest brahm2

Recommended Posts

Guest brahm2

Hello,

First, great software! CubeCart was breezy to set up and we're really pleased with it so far. But there's a few things we can't figure out!

First, we want to edit our Printable Packing Slip. I've searched for posts about this, and I have not been able to see anything about it. Mainly, we want to change this message:

"If you ordered digital goods you should have received an email containing download instructions. These can also be accesed from your account control panel where you can have complete control over your account with us."

Secondly (and I hope this is easy), we want to change the address of the store in the CubeCart software. The site, www.trendwhorebracelets.com, is hosted on my brahm2.com domain, and I don't want site documents printed with "brahm2.com/twhore" as the address of the site. We haven't seen an obvious option for this, so we're hoping there's an option out there for it. Searching for this was hard, because we had to use general terms like "site" and "name" :-\

Thanks for any help!!

Brahm

TrendWhore Bracelets

Edit: One more random problem we encountered: Someone sent us an eCheck from Canada (all orders have been from the US so far), and they were not charged shipping, even though we have it set to be a flat rate for all orders. Is this a regional settings problem, or an eCheck problem?

Last edit [sOLVED]: I want to know how to create a new box with a PayPal logo inside it. I found that I can create a new box in the folder \CURRENT_SKIN\styleTemplate\boxes, and that I should be able to add it to the main page with the index.tpl file in \CURRENT_SKIN\styleTemplate\global, but I cannot get the new box to show up.

HOW TO CREATE NEW BOXES

Here's the full procedure for how to create a new box... took me a while to figure out!! This is how to create a box that has information about methods of accepted payment, but you can change it to have whatever you want inside of it. I'm adding this because I had a hell of a time finding any info on it :innocent:

1) Create a new .tpl file for your box in \CURRENT_SKIN\styleTemplate\boxes. I called mine payments.tpl and it looked like this:

<!-- BEGIN: payments -->

<div class="boxTitleRight">Methods of Payment</div>

<div class="boxContentRight txtCopy">

	We accept PayPal for all secure online purchases! 

	<img src="http://www.brahm2.com/twhore/images/logos/paypal_logo.gif">

</div>

<!-- END: payments -->




2) Make a [boxname].inc.php file to put in YOURSTORE\includes\boxes. I'm not going to lie, I don't know why you have to do this step, but you do. 

It should look like this:


<?php



if(!isset($config)){



	echo "<html>\r\n<head>\r\n<title>Forbidden 403</title>\r\n</head>\r\n<body><h3>Forbidden 403</h3>\r\nThe document you are requesting is forbidden.\r\n</body>\r\n</html>";



	exit;



}



$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/payments.tpl");



$box_content->parse("payments");



$box_content = $box_content->text("payments");



?>




3) Edit YOURSTORE\index.php to call on the box when index.php is accessed. 



After this line:
	// START CONTENT BOXES


Add the lines


	include("includes/boxes/payments.inc.php");



	$body->assign("PAYMENTS",$box_content);




4) Lastly, edit \CURRENT_SKIN\styleTemplate\global\index.tpl and add your new box under one of your columns. Part of mine looks like this:


  <div class="colRight">

 	 {SHOPPING_CART}

 	 {MAIL_LIST}

 	 {PAYMENTS}

  </div>

Hopefully this helps some people!

Link to comment
Share on other sites

Guest brahm2

bump - we figured out the box creation and the regional shipping issue but are still looking for a solution to the web address and the packing slip changes.

Link to comment
Share on other sites

Mainly, we want to change this message:

"If you ordered digital goods you should have received an email containing download instructions. These can also be accesed from your account control panel where you can have complete control over your account with us."

This line can be changed in language/en/lang.inc.php

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...