open cart tips (for versions before 2.+)

Let us talk about scripts, HTML, Perl, PHP, apache, etc.

Re: open cart tips

Postby Stevyn » Sun Jun 30, 2013 2:47 pm

remove breadcrumbs

edit stylesheet.css, find .breadcrumb and add the display none so it looks like this

Code: Select all
.breadcrumb {
   color: #CCCCCC;
   margin-bottom: 10px;
 display: none;
}
Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Re: open cart tips

Postby Stevyn » Sun Jun 30, 2013 2:55 pm

How can I make the "postcode" required when registering?

Admin -> System -> Localization -> Country -> United States -> Zip Code Required
Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Re: open cart tips

Postby Stevyn » Mon Jul 01, 2013 3:01 pm

remove product compare, sort options and display options etc in the

template/products/catagories.tpl

for cleaner layout
Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Re: open cart tips

Postby Stevyn » Tue Jul 02, 2013 1:00 pm

be sure to clean up the order outgoing status update language :

admin/language/english/mail/order.php

note that it is in the admin area

also clean the one in:

catalog/language/english/mail/order.php
Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Re: open cart tips

Postby Stevyn » Tue Jul 02, 2013 1:19 pm

after the CONTACT US form is submitted it goes to the success.tpl which is designed for success of a completed order

so change this to make the contact us form return to the cart:

catalog/controller/information/contact.php

change around line 20 or so:

link('information/contact/success'));

to:

link('common/home'));
Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Re: open cart tips

Postby Stevyn » Thu Jul 11, 2013 7:55 pm

if using paypal standard be sure to:

ADMIN -> EXTENSIONS -> PAYMENTS -> edit PAYPAL STANDARD

make sure Transaction Method: is set to SALE

for more info see:

http://forum.opencart.com/viewtopic.php?t=12839
Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Re: open cart tips

Postby Stevyn » Mon Jul 15, 2013 8:25 pm

remove field in checkout:

http://ffct.cc/removing-checkout-fields-in-opencart/

example:
to remove the FAX field in the checkout

edit template checkout/guest.tpl

remove the header that prints FAX and use CSS to hide the input:

Code: Select all
<!--
 <?php echo $entry_fax; ?><br />
 
  <input type="text" name="fax" value="<?php echo $fax; ?>" class="large-field" />
  -->
 
  <input class="large-field" style="display: none;" type="text" name="fax" value="" />




if the field is required you will need to edit another file, will post that solution soon
Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Re: open cart tips

Postby Stevyn » Sun Aug 11, 2013 12:09 pm

remove COMPANY ID from checkout

admin > sales > customers > customer group and set to no.
Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Re: open cart tips

Postby Stevyn » Tue Jun 16, 2015 10:24 pm

adding a new field to customer account?

read:

http://forum.opencart.com/viewtopic.php?t=2514

and remember to create the new field in the data base:

Code: Select all
     ALTER TABLE `order` ADD `new_variable` VARCHAR( 4 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL ;

Contact me directly: Ironfeatherbooks (@) gmail.com

Image
User avatar
Stevyn
SysOp
 
Posts: 1565
Joined: Sun Nov 08, 2009 7:03 pm
Location: Colorado

Previous

Return to WEBMASTER CHAT



Who is online

Users browsing this forum: No registered users and 1 guest

cron