Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 09/07/2021 :  21:20:58  
Hi There,
We have a shopping cart showing the items in it, such as


Shopping Cart
Cart Cart
6 Item(s)
2 20 gm FN Style Wheel Weights, FE Steel
1 30 gm FN Style Wheel Weights, FE Steel
1 40 gm FN Style Wheel Weights, Zinc
1 10 gm IAW Style Wheel Weights, FE Steel
1 .25 oz Adhesive Weights, Coated Black
Total $173.33
» Checkout

Is there a way of customizing (shortening) what is displayed rather than the full item name? I would prefer something like this and on the invoice as well.
2 20 gm FN 4 Packs
1 30 gm FN 4 packs
1 40 gm FN 4 packs
1 10 gm IAW 4 packs

Thanks

Michael

Vince
Administrator

42488 Posts

Posted - 09/08/2021 :  09:53:31  
Hi Michael
Other than changing the product name in the product admin, I would say no really.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 09/08/2021 :  20:55:34  
How about Prod Id instead?

Michael

Vince
Administrator

42488 Posts

Posted - 09/09/2021 :  00:54:44  
Hi Michael
There isn't a way to do this as standard but maybe with some custom editing you could. Is this the mini cart?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 09/09/2021 :  05:58:52  
Yes sir, I have it in the left column just below the menu.

Michael

Vince
Administrator

42488 Posts

Posted - 09/09/2021 :  09:15:01  
Hi Michael
If you wanted to make the code changes for this then, have a look in the file...
vsadmin/inc/incminicss.php
...for the following...
$rs['cartQuantity'] . ' ' . $rs['cartProdName']
...and change that to...
$rs['cartQuantity'] . ' ' . $rs['cartProdID']

You need to do the same in inccart.php (but the spacing is different.)

$rs['cartQuantity'].' '.$rs['cartProdName']
...and change that to...
$rs['cartQuantity'] . ' ' . $rs['cartProdID']

But really, I would try to find a way to improve the display using CSS before making code changes like this.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

dbdave
ECT Moderator

USA
10292 Posts

Posted - 09/09/2021 :  14:25:24  
quote:
I would try to find a way to improve the display using CSS


What I use is overflow:hidden on the outer div.

David

ekrzycki
Advanced Member

USA
351 Posts

Pre-sales questions only
(More Details...)

Posted - 09/09/2021 :  16:58:16  
I had the same issue and the fix was fairly easy.

Here's how I did it in ASP but PHP has to be similar:
1 -- in includes file, added these two lines:
' Extra (custom) fields for products
admincustomlabel1="On Screen Title"

2 -- in includes file, revised productpagelayout:
productpagelayout="productid,productimage,custom1,description,quantitypricing,options,detaillink,minquantity,discounts,listprice,price,quantity,addtocart"

The order and items in this productpagelayout list are particular to my website but you should have a similar list.
You need to replace "productname" with "custom1" in it's place.

3 -- do the same thing as #2 with your detailpagelayout.

4 -- fill in short names you want to show up in cart and on invoice (on admin products page as "Prod Name").
5 -- fill in longer values you want to show up on web page (now on admin products page as "On Screen Title").

Only downside to this is you have to maintain two names for each item -- a short name (for cart contents and invoice) and a long name (for web page).

For an example - I have part number 7404
cart and invoice description = IC, Hex Inverter
web page description = Integrated Circuit, TTL, Hex Inverter

Edited by - ekrzycki on 09/09/2021 17:02:48

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 09/11/2021 :  20:31:42  
Thanks All, I'll play with this some and see what happens . . . Stay tuned for: HELP I BROKE SOMETHING !!

Michael

Mikelli
Ecommerce Template Guru

USA
1613 Posts

Pre-sales questions only
(More Details...)

Posted - 09/12/2021 :  14:44:09  
I've been tickering with Ed's suggestion and like how it looks so far. How do I get Custom1 to hyperlink like Productname does?

Also how do I get what's in the $admincustomlabel1="On Screen Title"; field in admin to print to H1 tags?

Thanks,

Michael

ekrzycki
Advanced Member

USA
351 Posts

Pre-sales questions only
(More Details...)

Posted - 09/13/2021 :  17:39:22  
Unfortunately, there is no hyperlink to details for Custom1.
For me, that's fine since I have an image that is linked to proddetail plus a "Details" button in each item also linked to the proddetail page.

Don't know about the H1 tag. I have done very little optimization such as headings & tags, I actually try to keep added search engine hits at a low level (I get too many orders already).

Marshall
Ecommerce Template Guru

USA
1875 Posts

Posted - 09/13/2021 :  18:24:33  
quote:
(I get too many orders already).
We should all have that problem.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000