- This topic has 5 replies, 2 voices, and was last updated 11 years, 3 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Change product name in cart for multiple variations
I am using multiple variations in the cart and want to combine 2 of the variations when displayed in the cart.
Can you tell me where in the code the item name is added to the cart (with the associated variation names)?
Thanks.
PS – Have many people requested subscription payments for Stripe?
I am not fully sure what tweak you are trying to do. Can you give me an example of what you are trying to do?
I have a product with 2 variations. The product shows up in the cart:
Product name (variation 1) (variation 2)
I’d like to change it so that is show up in the cart (as well as in the email that goes out to the buyer) so it reads:
Product name (variation 1 – variation 2)
Hope that helps.
Okay thank you. That can create some other issues though. The cart relies on the variation to be in that format so if you change it, other things can break (For example, if you have a digital variation then that won’t work).
I understand, but can you tell me where in the code the name is put into the cart?
I assume it is added to the $_SESSION variable using name.
Where is this done?
Search for the following in the “wp_eStore1.php” file and then follow the code:
if (isset($_POST['addcart_eStore']))