product type phone

Locked

Views: 2,169

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
6 Aug 2006, 6:55 PM
#1
pinkbeef avatar

pinkbeef

New Zenner

Join Date:
Apr 2006
Posts:
10
Plugin Contributions:
0

product type phone

Ive put togather a product types which i need to test on other sites, it works fine on my test site.
its based on the product type music catagory, but has extended fields of input ( 40 )
the best thing about this is you can creat another product type all you need to do is

open all files in your favrite text editor, and find and replace the following;

phone --> new name
Phone --> New name (with a capital letter)
PHONE --> new name (capitals)

network --> newname2
Network --> newname2 (with capital letter)
NETWORK --> newname2 (capitals)

then change the product ID in the sql file from 12 to another

you should be good to go

6 Aug 2006, 7:00 PM
#2
pinkbeef avatar

pinkbeef

New Zenner

Join Date:
Apr 2006
Posts:
10
Plugin Contributions:
0

Re: product type phone

RE first post

using the above I have put togather a second product typs called product type tariff.

phone --> tariff
Phone --> Tariff
PHONE --> TARIFF

network --> supply
Netword --> Supply
NETWORK --> SUPPLY

new sql product ID 11

it seems to work well

but i need your input

thank you

26 Aug 2006, 1:43 AM
#3
draconus avatar

draconus

New Zenner

Join Date:
Aug 2006
Posts:
9
Plugin Contributions:
0

Re: product type phone

How can I change the field names Tariff_Data 1, Tariff_Data 2, ... etc . ?

29 Aug 2006, 6:30 AM
#4
pageslinger avatar

pageslinger

New Zenner

Join Date:
Oct 2005
Posts:
4
Plugin Contributions:
0

Re: product type phone

hi there...i installed product phone on my site and it works great...one question tho, i have not been able to find any info on how to get easy populate to pull out the new products info? any info would be great...would prolly even pay for the mod as i need it pretty badly.

thanks!!!!

30 Aug 2006, 1:09 AM
#5
pinkbeef avatar

pinkbeef

New Zenner

Join Date:
Apr 2006
Posts:
10
Plugin Contributions:
0

Re: product type phone

Draconus:

How can I change the field names Tariff_Data 1, Tariff_Data 2, ... etc . ?

You can use the Developers Tool Kit and search for tariff_data, it will find any pages that have "Tariff_data" in it.
OR
you can Locate the following pages

"admin/includes/languages/english/product_tariff.php"
and
"includes/languages/english/product_tariff_info.php"

around line 37 you will see the start of the Tariff_data you wish to change.

Example as followers:

Line #38 : define('TEXT_PRODUCTS_TARIFF_DATA_1', 'To Landline ');

the part you need to change is the part between the single quotes

'To Landline' change it to 'Anything you like'

and be careful not to alter anything else.
Good luck
ill be around next week and will look in.

30 Aug 2006, 1:26 AM
#6
pinkbeef avatar

pinkbeef

New Zenner

Join Date:
Apr 2006
Posts:
10
Plugin Contributions:
0

Re: product type phone

pageslinger:

hi there...i installed product phone on my site and it works great...one question tho, i have not been able to find any info on how to get easy populate to pull out the new products info? any info would be great...would prolly even pay for the mod as i need it pretty badly.

thanks!!!!

I do not know how easy populate works, does it populate the sql files direct and if so it should be easy to write a file to do the job.

give me an idear of how it populates the data.

and ill have a look, as i could use it myself.

Thanks.

30 Aug 2006, 10:28 PM
#7
draconus avatar

draconus

New Zenner

Join Date:
Aug 2006
Posts:
9
Plugin Contributions:
0

Re: product type phone

pinkbeef:

You can use the Developers Tool Kit and search for tariff_data, it will find any pages that have "Tariff_data" in it.
OR
you can Locate the following pages

"admin/includes/languages/english/product_tariff.php"
and
"includes/languages/english/product_tariff_info.php"

around line 37 you will see the start of the Tariff_data you wish to change.

Example as followers:

Line #38 : define('TEXT_PRODUCTS_TARIFF_DATA_1', 'To Landline ');

the part you need to change is the part between the single quotes

'To Landline' change it to 'Anything you like'

and be careful not to alter anything else.
Good luck
ill be around next week and will look in.

Thanks, it worked perfect :yes: