Mikelli
Ecommerce Template Guru
USA
1613 Posts Pre-sales questions only (More Details...)
|
Posted - 03/13/2022 : 23:04:48
I just added these to the includes.php for internal use in product admin, but they are printing on the products.php and prod detail.php pages, how can I prevent that?
$admincustomlabel1="Extra Data "; $admincustomlabel3="Supplier Part # ";
Thanks,
Michael
|
Vince
Administrator
42874 Posts |
Posted - 03/14/2022 : 03:07:56
|
Mikelli
Ecommerce Template Guru
USA
1613 Posts Pre-sales questions only (More Details...)
|
Posted - 03/14/2022 : 10:33:11
I put them back into the includes.php and now product admin won't display the two fields. I must have broken something late last night.
Michael
|
Mikelli
Ecommerce Template Guru
USA
1613 Posts Pre-sales questions only (More Details...)
|
Posted - 03/14/2022 : 12:11:43
I now have on includes.php: $admincustomlabel1="Packaging Type "; $admincustomlabel2="PID # "; $admincustomlabel3="Supplier Part # "; On prod detail page I have Only $admincustomlabel2="PID # "; displays in Prod Admin, and it doesn't display on prod detail page (which I want)  Michael
|
ITZAP
Ecommerce Template Guru
Australia
1018 Posts |
Posted - 03/14/2022 : 19:29:38
Edited by - ITZAP on 03/14/2022 19:30:19
|
Mikelli
Ecommerce Template Guru
USA
1613 Posts Pre-sales questions only (More Details...)
|
Posted - 03/14/2022 : 20:17:39
Thanks Gary, I read that a few times.
Right now I have all 3 fields displaying in prod admin. I don't want custom1 & 3 to print on the details page though. I tried Vince's suggestion and all 3 still print on the page. If I remove them from this string: 'custom2, navigation, checkoutbutton, productimage, productid, sku, productname, description, listprice, price, options, quantity, addtocart, previousnext, emailfriend, custom1, custom3 ';
They (custom1 & 3) won't display on the details page or in prod admin any longer, which I want for internal use. I don't see that addressed in that PHP parameters section. Sorry if I wasn't clear earlier.
Michael
|
Vince
Administrator
42874 Posts |
Posted - 03/15/2022 : 04:09:53
|
Mikelli
Ecommerce Template Guru
USA
1613 Posts Pre-sales questions only (More Details...)
|
Posted - 03/15/2022 : 07:18:14
$detailpagelayout='custom2, navigation, checkoutbutton, productimage, productid, sku, productname, description, listprice, price, options, quantity, addtocart, previousnext, emailfriend, custom1, custom3 ';
The last 2 are so that I can use the fields in product admin. When removed they disappear in admin.
No $productpagelayout
Michael
|
Vince
Administrator
42874 Posts |
Posted - 03/15/2022 : 07:35:38
|
Mikelli
Ecommerce Template Guru
USA
1613 Posts Pre-sales questions only (More Details...)
|
Posted - 03/15/2022 : 07:44:02
That results them same as earlier. The fields disappear from product admin (I want them to stay) and they no longer print on the page. Custom #2 prints on details page and stays in product admin  , Here's what I have: $detailpagelayout='custom2, navigation, checkoutbutton, productimage, productid, sku, productname, description, listprice, price, options, quantity, addtocart, previousnext, emailfriend' ; $admincustomlabel1="Packaging Type "; $admincustomlabel2="PID # "; $admincustomlabel3="Supplier Part # "; On product detail page, I have: <?php $admincustomlabel1=""; $admincustomlabel3=""; ?> <?php include "vsadmin/inc/incproddetail.php" ?> Michael
|
Vince
Administrator
42874 Posts |
Posted - 03/16/2022 : 03:43:03
|
Mikelli
Ecommerce Template Guru
USA
1613 Posts Pre-sales questions only (More Details...)
|
Posted - 03/16/2022 : 07:54:17
Hi Vince, I'm on Ecommerce Plus PHP v7.4.5
I'll update and get back to you.
Michael
|
Mikelli
Ecommerce Template Guru
USA
1613 Posts Pre-sales questions only (More Details...)
|
Posted - 03/16/2022 : 10:12:32
Hi Vince, that corrected it.
Thank You Sir !!
Michael
|
|
|