Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

This should be an easy one.....


ComicWisdom

Recommended Posts

On the products listing page and in the shopping cart, I am trying to change the term that displays for the option name.

 

Instead of having on one product display and print out:

 

Option 1

Option 2

Option 3

 

And on another product display and print out:

 

New Option 1

New Option 2

 

I would just like them all to display and print out:

 

Add:

Add:

Add:

 

It should be simple to find the variables and replace them with constants, but I can't seem to find them. And the one or two I did, when I change them to a constant, I end up with a syntax error. Maybe I'm not using the correct format or finding the correct location.

 

Could someone help with this? Please :D

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Link to comment
Share on other sites

Go into your admin tool -- www.yoursite.com/admin, or www.yoursite.com/catalog/admin, whatever it is, and click on Catalog.

 

Then click on Product Attributes.

 

In the top left column, you'll see the "Product Options". Simply edit the ones you want to edit, and replace them with "Add".

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

Go into your admin tool -- www.yoursite.com/admin, or www.yoursite.com/catalog/admin, whatever it is, and click on Catalog.

 

Then click on Product Attributes.

 

In the top left column, you'll see the "Product Options". Simply edit the ones you want to edit, and replace them with "Add".

 

I thought of that, however, if I do that all product options will be under the one option "add." There are literally thousands of possible things to add and at different prices.

 

For example this is a Pizza shop and there are different "add options" for grinders, sandwiches, and pizza. Putting them all in the same one option "add" would make the list horrendous.

 

There must be a way simply to find the variable that would print out "Pizza Topping 1" or "Sub Extra 1" and change them to a constant to display "Add"

 

Am I making sense here? Thank you for you help, if I can't find the variables, that might be the way to go.

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Link to comment
Share on other sites

I have found one instance.

 

In shopping_chart.php I have taken out " $products[$i][$option]['products_options_name'] . " and replaced it with the constant "Add" It works wonderful on the shopping cart page. Still looking for one on product listing and info page.

 

I have tried in english/shopping_chart.php

 

 

define('DISPLAY_OPTION_TITLE', 'Add:');

 

but when I put into shopping_cart.php

 

<?php echo DISPLAY_HEADING_TITLE; ?>

 

I get a sytax error.

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Link to comment
Share on other sites

How about going into catalog/includes/languages/english/product_info.php, and doing something like this:

 

define('TEXT_PRODUCT_OPTIONS', 'Available Options:');

 

or

 

define('TEXT_PRODUCT_OPTIONS', 'Add:');

 

See how that works out.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...