Jump to content

Customer List Export? Remove Sales Link?


jefferis

Recommended Posts

Hi,   My client has two requests:  1, to export the customer list to Excel and the other is to hide the on sale link on the nav bar, because all items are on sale, and it is not productive...

 

 

TIA for any answers, yea or nay.

 

Jeff

 

 

Link to comment
Share on other sites

In the skin template file main.php, find and make this edit:

Was:
{$SALE_ITEMS}
 
Now:
{* $SALE_ITEMS *}

Placing the asterisks as so will make this template placeholder into a template comment.

 

In the skin template file box.navigation.php, find and make this edit:

Was:
{if $CTRL_SALE}
 
Now:
{if false && $CTRL_SALE}

This will prevent the list item in the navigation list from being included.


There is an easy way and a hard way to get a database dump of the CubeCart_customer database table.

1. Use phpMyAdmin (available in your hosting account's control panel, or use similar utility) to export the table to a CSV file, or

2. Construct a CubeCart 'external'-type module to fetch, process, prepare, and format a proper report.

Link to comment
Share on other sites

In the skin template file main.php, find and make this edit:

Was:
{$SALE_ITEMS}
 
Now:
{* $SALE_ITEMS *}
 
Was:
{if $CTRL_SALE}
 
Now:
{if false && $CTRL_SALE}   

 

Hi, this did not work...   The sale item   like I believe is in      {$CATEGORIES}  and not in

        {* $SALE_ITEMS *}  

 

https://www.slipperyrockcigars.com/   See the green nav links along the side.

 

I even did a complete comment out:     <?php /*?>    {* $SALE_ITEMS *}<?php */?>   and it did not stop the link.

Link to comment
Share on other sites

There may be the issue of CubeCart using a cached copy of the skin template (mostly already rendered).

 

box.navigation.php is the content that will be put in {$CATEGORIES}.

 

{$SALE_ITEMS} is a side box that is the content from box.sale_items.php.

 

The site looks fine to me.

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...