X-Cart:Managing Products

From X-Cart 4 Classic
Revision as of 23:44, 2 February 2010 by Admin (talk | contribs) (Modifying products)
Jump to: navigation, search

Searching for products

To be able to view or modify the details of a product, you need to find this product. At any moment, you can do so using X-Cart's 'Search for products' form.

To search for a product:

1. In your store's back end, open the 'Search for products' form:

If you are an X-Cart PRO administrator: Click on Products in the Catalog menu.
If you are an X-Cart GOLD administrator/provider or an X-Cart PRO provider: Click on Search for products in the Products menu.
The 'Search for products' form opens:
Product search1.gif


2. Use the 'Search for products' form to provide criteria for your search:

  • Into the 'Search for pattern' field, enter your search string.
  • (If the search string you provided consists of multiple words) Use the 'All words' / 'Any word' / 'Exact phrase' radio buttons to specify whether the results returned by the search must match all the words, any word or the exact phrase you entered into the 'Search for pattern' field.
  • Specify, where you wish X-Cart to search for the string you provided: In the 'Search in' line, select all that apply (Product title, Short description, Detailed description, Search keywords).
  • If you are doing this search in order to modify all the products that will be found, select the 'Search-and-modify' check box. If you wish to immediately export the search results to a CSV file, select the 'Export search results to a CSV file' check box.
  • If you wish, you can specify more parameters for your search. The link [+] More search options allows you to expand the search form and provide more information about the product.


Product search2.gif


The more details you provide, the more accurate the search results will be.

3. Click the Search button.

After you click on Search, X-Cart searches for the product in the database and provides a list of search results in a dialog box titled 'Search results':


Prod search results.gif


The 'Search results' dialog box provides the following information about each found product:

  • SKU - Product SKU.
  • PRODUCT - Product name.
  • QUANTITY IN STOCK - Quantity of product pieces available for sale.
  • PRICE - Base price.

The buttons in the bottom part of the dialog box allow you to perform various operations on the found products: you can delete, preview, modify and clone products, as well as update the products' quantities and prices and generate HTML links. In addition to that, you can export all or some of the found products to a CSV file.

X-Cart retains the parameters you define for a product search until your session expires. This means that, if you decide to do a new search after you have already searched for something in your current session, the 'Search for products' form will still have all the settings you used during your previous search. Make sure these old settings agree with what you are going to search for or readjust the search parameters. If the advanced search section of the 'Search for products' form contains any settings which you do not need for your new search, you can quickly clear this section by clicking the Reset button at the bottom of the 'Search for products' form.

Updating product quantities and prices

You can quickly update prices and quantities of products.

To update the quantity and/or the price of some product (or several products):

  1. Find the product(s) whose quantity/price you wish to update.
  2. In the 'Search results' dialog box, edit the necessary quantities/prices.
  3. Click the Update button.

After you click on Update, the edited quantities/prices are updated.

X-Cart GOLD administrator/provider and X-Cart PRO providers can update product quantities and prices by importing them from a CSV-formatted file:

1. Prepare a CSV file with the new product quantities or prices. Example:

Below is a sample CSV file with semicolon delimiter:

SKU1638; 10.55
SKU1638; Wholesale:5:9.89
SKU1640; 11.25
SKU1640; 5:10.99

2. Open the 'Update inventory' section (Products menu->Update inventory). You should see a dialog box titled 'Update inventory'.

3. Depending on what information you wish to be updated, from the 'Update' drop-down box, select either Quantity in stock or Pricing.

4. From the 'CSV delimiter' drop-down box, select the delimiter used in your CSV file.

5. Use the Browse... button to locate your CSV file. Select this file.

6. Click the Update button.

After you click on Update, the quantities/prices are updated.


Previewing product details

You can preview the details of any product in your store.

To preview the details of some product:

  1. Find the product whose details you wish to preview.
  2. In the 'Search results' dialog box, select the check box next to the product name.
  3. Click the Preview product button at the bottom of the 'Search results' dialog box.

This opens a product preview page with a summary of the product's details:


Preview product.gif


You can use the links provided in the bottom part of the product preview box to modify, clone or delete the product. Clicking on the printer icon will open a printable version of the product preview page.


Modifying products

You can modify previously created products, which means you can edit any of their details.

To modify a product:

1. Find the product that you wish to modify.

2. Open the product for modification. Do one of the following:

  • In the 'Search results' dialog box, select the check box next to the product name, then click the Modify selected button.
or
  • In the 'Search results' dialog box, click the product name link.
This opens a page with the details of the selected product.

3. Edit the product information as desired. For details, see the section X-Cart:Defining Product Details and X-Cart:Defining Other Product Information.


Group product editing (mass product editing)

If you need to make similar changes to more than one products, you might want to edit these products as a group.

To modify several products simultaneously (using X-Cart's group product editing feature):

1. Find the products that you wish to modify.

2. In the 'Search results' dialog box, select the products that need to be modified (select the check boxes next to the product names). You can use the Check all link to select all the products on the page.

3. Click the Modify selected button.

This opens a page with a list of products selected for modification:


Group ed1.gif


and a 'Product details' dialog box displaying the details of a product whose name is written in bold font in the list of products selected for modification:


Group ed2.gif


Now you can view the details of any of the products from the 'Product list': all you need to do is click on the name of the product whose details you wish to view, and the details will be displayed in the 'Product details' dialog box below.

4. From the 'Product list', select a product whose details you wish to use as a model for all the products in the list. The details of this product will be opened for viewing and modification in the 'Product details' dialog box.

5. In the 'Product details' dialog box, change all the product details that need to be changed for the currently selected product. You can make any changes, no matter whether they need to be applied only to this very product or to all of the products selected for modification.

6. You might have noticed that the 'Product details' dialog box looks a bit different when used in group product editing mode: all the fields of this dialog box have check boxes located to the left of their names. These check boxes allow you to assign the product details of the product you are viewing to the rest of the products selected for modification. Select the check boxes next to the fields that need to be applied to all of the products in the 'Product list'.

Note: You will notice that the check boxes next to some of the fields in the 'Product details' dialog box are inactive; for example, the check boxes next to the fields SKU and Clean URL. These check boxes are made inactive intentionally so they cannot be selected in group editing mode: the values of the respective fields must be unique for each product.

7. Click the Save button at the bottom of the 'Product details' dialog box.

8. (Optional) Now, if you need to make further changes to any more products from the 'Product list', select one of these products so its details are displayed in the 'Product details' dialog box and continue editing as described above.

9. (Optional) Add, edit or delete international descriptions and other additional features for one of the products and apply the changes to all the products being edited.

When you click on Save, the product details you have changed are updated (The ones with selected check boxes are applied to all of the products in the 'Product list', the ones whose check boxes were left unselected - just to the product whose details are displayed in the 'Product details' dialog box).

Cloning products

When you need to create a product that is just a little bit different from one of the products that is already in your store's database, you may find it convenient to clone the product that already exists instead of creating the new product from scratch. To clone an existing product means to create an exact copy of that product - a clone product - which can then be modified and saved with a new name.

To create a product by cloning:

1. Find the product that you wish to clone.

2. In the 'Search results' dialog box, select the check box next to the title of this product.

3. Click the Clone product button. This creates a clone product. This product is an exact copy of the original product in everything but the name. The name of the clone product is formed of the name of the original product with the addition of '(CLONE)'. A dialog box titled 'Product details' opens displaying the details of the clone product.

4. Edit the details of the clone product as desired: change the product name, description, price, etc. For details, see the section Defining Product Details.

After you save the changes, the new product is created.

Important: If the original product had any other product information besides product details, be sure to edit this information for the new product (See the section and Defining Other Product Information).

Generating HTML links

It is possible to use products from your X-Cart database not only on the pages of your store catalog, but also on any other HTML pages in the same online store or on a different website. For example, you can place a description and a thumbnail image of some product on an external page somewhere on the Web and provide an 'Add to cart' link next to the description, so visitors of this external page can purchase the product directly from there. Visitors who will click on the link will be redirected to the shopping cart section in your X-Cart based store, so their further steps towards placing an order will be the same as those of any customer ordering a product from your store catalog.

On demand, X-Cart can generate HTML code which can be integrated into HTML pages to create links to products.

Three types of HTML links are supported:

  • links to product thumbnails - links allowing you to insert product thumbnail images into any HTML pages:


Html links1.gif


  • simple HTML links to add 1 product to cart - links allowing a visitor of an external page to add one item of a product to the shopping cart:


Html links2.gif


  • advanced HTML links with selectable quantity and product options support - links allowing a visitor of an external page to see the price of the product, to select the number of product items that need to be added to the shopping cart and to specify the product options with which they wish these items to be added.


Html links3.gif


Every time you tell X-Cart to generate HTML links to a certain product, it generates links of all the three types. You can choose any one link or use a combination of a thumbnail link with any of the two 'Add to cart' links.

To get X-Cart to generate HTML links for a product:

  1. Find the product for which you need HTML links.
  2. In the 'Search results' dialog box, select the check box next to the title of this product.
  3. Click the Generate HTML links button at the bottom of the 'Search results' dialog box.

After you click on Generate HTML links, X-Cart generates HTML links for the selected product. Now you can copy the HTML code for the desired link(s) and paste it into any web page.


Deleting products

Products that you do not wish to sell and keep in your store can be deleted (permanently removed from the database).

To delete one or more products:

  1. Find the products that you wish to delete.
  2. Mark these products for deletion by selecting the check boxes next to their names in the 'Search results' dialog box.
  3. Click the Delete selected button. When prompted, confirm the deletion:


Delete product.gif


After you confirm the deletion, the selected products are removed. A message is displayed confirming that the selected products have been deleted successfully.


Exporting products

You can export some or all of the products from the search results to a CSV file.

To export specific products from the search results to a CSV file:

1. In the 'Search results' dialog box, select the products you wish to export (Select the respective check boxes).

2. Click the Export selected button. This opens your store's 'Export data' section.

3. Use the 'Export data' section to export the products (See Exporting Data).

To export all the found products from the search results to a CSV file:

4. In the 'Search results' dialog box, click the Export all found button. This opens your store's 'Export data' section.

5. Use the 'Export data' section to export the products (See Exporting Data).

FAQ

How to prohibit unregistered users from viewing products in certain category?

You should specify a Membership level for the category you want to hide on the "Category"->"Modify" page. Your visitors will not be able to see this category and it's products until login.

Troubleshooting

JavaScript error with options/variants in cart

When product in cart has options/variant and customer wants to change them and opens the edit options window browser gives a javascript syntax error warning. In order to fix this issue, apply this patch.