Adding information to the SC Shopping Cart v2 widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 01:46 PM
Hello,
I am looking for some assistance with editing the sc-shopping-cart-v2 and the large_shopping_cart_v2.html. I have already copied both and have been able to edit the Short Description of the item in the cart.
Here is our issue, we have 1 software request for all of our companies software. I need to be able to access the variables from the items in the cart so I can display the name of the software and not the name of the catalog item (Screenshot 1). I followed this article from the community but I think the fact that it is outdated I am unable to pass the variables with the same method. I do not believe SPcart script include is being called in sc-shopping-cart-v2 as it was in sc-shopping-cart. Screenshot 2 shows that I am not seeing Variables passed.
I followed the cart_item_id of Screenshot 2 and can see the Cart in Screenshot 3, I did a configure-form layout and was able to add a section called Variables but it doesn't contain any information. I can see my software name in the related list for Options but am unsure how to access it in the widget. I am hoping I just need some code in the Server Script for the widget but I do not know where that would go and what I would need to do to get that over to the large_shopping_cart_v2
Any direction would be greatly appreciated, thanks