Expression Engine Carthrob

Posted on 2015-02-08
Last Modified: 2015-03-03
I have a site built on Expression Engine and have cartthrob Subscriptions.  I have added a price modifier but when I add to cart the price of the price modifier is not added to the subtotal.  Any Ideas?

{exp:channel:entries channel="subscriptions"}	
									{!-- specify the plan id to add the item to the cart --}
										title="spoke insuracne"
										no_shipping = "yes"
									<input type="text" name="price"/>
									<br />
									    {exp:cartthrob:item_options entry_id="{entry_id}"}
										{if first_row}
										<select name="item_options[first_name]">
												 <option {selected} value="{option_value}">{option_name} {if option_price_numeric >= 0} $ {price}{/if}</option>
										{if last_row}
									<div class="control-group">
										<div class="form-actions">
											<button type="submit" class="btn btn-primary"><i class="icon-ok-circle icon-white"></i>Add plan</button>


Open in new window

Question by:rgranlund
LVL 35

Accepted Solution

Terry Woods earned 500 total points
ID: 40597756
Have you included a $ character in your modifier value? Doing a web search for this issue, it looks like it shouldn't have one. Note that I haven't used Expression Engine though.

Author Comment

ID: 40598810
Yes, Please add the topics.  Also, I made sure about the $sign.  I have done about 8 hours of research before I even posted here.  It must something in the way I have my channels set up or something stupid.

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now