Forums / Setting Up Categories, Products, Attributes / Add Meta Title,Descriptio,keyword to New Product Page!!

Add Meta Title,Descriptio,keyword to New Product Page!!

Views: 1,002

Results 1 to 3 of 3
22 Oct 2013, 5:20 PM
#1
crixus avatar

crixus

New Zenner

Join Date:
Oct 2013
Location:
United States
Posts:
88
Plugin Contributions:
0

Add Meta Title,Descriptio,keyword to New Product Page!!

Attachment 13226

Hello Zen Brothers!
Its collect_info.php
I just copy meta tilte,keyword,keyword to new product page.
My problem is..
when i put:

$form_action = (isset($_GET['pID'])) ? 'update_product' : 'insert_product';
``` in (preview_info.php)
it only update 1 mean product model,description etc. (plz see the attachment)



.
when i put :

$form_action = (isset($_GET['pID'])) ? 'update_product_meta_tags' : 'insert_product_meta_tags';

it only update 2 mean meta title work only. (plz see the attachment)


so i want both work 
plz plz Help me to do that.

Thanks 
Crixus!
23 Oct 2013, 4:05 AM
#2
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Add Meta Title,Descriptio,keyword to New Product Page!!

Why not just use the built in method for specifying them? Easier than re-inventing the wheel.

For each product and category there is a little icon next to the edit icon you can click on to specify custom meta tags... "admin" -> "catalog" -> "categories / products" -> click the little icon for meta tags (it reminds me of a radiation symbol).

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

23 Oct 2013, 1:08 PM
#3
crixus avatar

crixus

New Zenner

Join Date:
Oct 2013
Location:
United States
Posts:
88
Plugin Contributions:
0

Re: Add Meta Title,Descriptio,keyword to New Product Page!!

Do have many category and Products. so ITs takes to much time for add title. Thats why... want to do this