Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Expression Engine Carthrob

Posted on 2015-02-08
3
Medium Priority
?
95 Views
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 --}
									{exp:cartthrob:add_to_cart_form 
										return="{local_template_group}/view_cart"
										subscription_plan_id="1"
										entry_id="{entry_id}"
										title="spoke insuracne"
										form_class="form-horizontal"
										no_tax="yes"
										no_shipping = "yes"
										allow_user_price="yes"
									}
									
									<input type="text" name="price"/>
										
									<br />
									
									    {exp:cartthrob:item_options entry_id="{entry_id}"}
							
									
										{first_name}
										{if first_row}
										<select name="item_options[first_name]">
										{/if}
												 <option {selected} value="{option_value}">{option_name} {if option_price_numeric >= 0} $ {price}{/if}</option>
										{if last_row}
										</select>
										{/if}
										{/first_name}
								
								
									 {/exp:cartthrob:item_options}	
										
									<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>
										</div>
									</div>

									{/exp:cartthrob:add_to_cart_form}
								
{/exp:channel:entries}

Open in new window

0
Comment
Question by:rgranlund
3 Comments
 
LVL 35

Accepted Solution

by:
Terry Woods earned 2000 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.
0
 
LVL 7

Author Comment

by:rgranlund
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.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses how to implement server side field validation and display customized error messages to the client.
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

927 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