Publisher does not support the Fluid field type. Please do not contact asking when support will be available.
If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: Language keeps changing
Status | Resolved |
Add-on / Version | Publisher 1.6.1 |
Severity | |
EE Version | 2.9.2 |
Karen Bosch
May 08, 2015Hello again,
I think I might have found a bug. I’m using publisher in combination with Expresso store for a webshop. My default language is Dutch and my second language is English. When I remove an item from my cart, it redirects like it should, but it changes the language to English. I’m not sure if this is a bug in Expresso Store or in Publisher, but as far as I’m concerned I’m not doing anything wrong. Could you take a look at this? Thank you! Here’s my code:
{exp:store:checkout
form_class="form-horizontal"
next="/webshop/category/{freebie_3}/checkout2"}
{if no_items}
<div class="bg-danger" 10px;">{phrase:winkelwagen_leeg}</div>
{/if}
<div class="row">
<section class="col-sm-12 main-content">
<div class="wrapper">
<h1>Winkelwagen</h1>
<p> </p><table class="table table-striped">
<thead>
<tr>
<th >Artikel</th>
<th></th>
<th>{phrase:prijs}</th>
<th>{phrase:hoeveelheid}</th>
<th >{phrase:totaal}</th>
</tr>
</thead>
<tbody>
{items}
<tr class="item">
<td>
<a href="/webshop/category/{freebie_3}">{title}</a>
<p><small>
{modifiers}
<b>{modifier_name}</b>: {modifier_value} {if price_mod_val}({price_mod}){/if}<br />
{/modifiers}
</small></p>
<p> </p>
</td>
<p> {exp:channel:entries channel="producten" url_title="{url_title}" dynamic="no"}<br />
</p><td>
<p> <a href="/webshop/category/{freebie_3}"><br />
{exp:ce_img:single<br />
src="{producten_afbeelding}"<br />
width="70"<br />
height="77"<br />
}<br />
</a><br />
</p>
</td>
<p> {/exp:channel:entries}<br />
</p><td>{price}</td>
<p> </p><td>{item_qty}</td>
<p> </p><td >{item_subtotal}</td>
<p> </p><td>
<p> <input type="submit" name="remove_items[{key}]" class="remove" value="<br />
" /><br />
</p>
</td>
<p> </p>
</tr>
<p> {/items}</p>
<p> </p>
</tbody>
<p> </p><tfoot>
<p> </p><tr>
<p> </p><th></th>
<p> </p><td></td>
<p> </p><td colspan="2">{phrase:subtotaal}</td>
<p> </p><td >{order_subtotal}</td>
<p> </p><td></td>
<p> </p>
</tr>
<p> </p><tr>
<p> </p><th></th>
<p> </p><td></td>
<p> </p><td colspan="2">Verzendkosten</td>
<p> </p><td >{order_shipping}</td>
<p> </p><td></td>
<p> </p>
</tr>
<p> </p><tr class="total">
<p> </p><th></th>
<p> </p><td></td>
<p> </p><th colspan="2">{phrase:totaal}</th>
<p> </p><td >{order_total}</td>
<p> </p><td></td>
<p> </p>
</tr>
<p> </p>
</tfoot>
<p> </p>
</table>
<p> </p>
</div>
<p> </p>
</section>
<p> </p>
</div>
<p> </p><div class="row">
<p> </p><div class="col-sm-12">
<p> <span class="empty pull-right" ><input type="submit" name="empty_cart" value="{phrase:leeg_winkelwagen}"></span><br />
</p>
</div>
<p> </p>
</div>
<p> </p><div class="row">
<p> </p><div class="col-sm-12">
<p> </p><span class="btn btn-default col-xs-12 col-sm-5 col-md-3 pull-right" ><p><input type="submit" name="next" value="{phrase:ga_verder}" /></span><br />
</p>
</div>
<p> </p>
</div>
<p>{/exp:store:checkout}
BoldMinded (Brian)
What does the rendered form tag look like? Specifically the form opening tag.
Karen Bosch
BoldMinded (Brian)
Comment has been marked private.
Karen Bosch
This does fix the first bug, but brings another error with it. When I navigate to the page where I can delete store items, I see this error on the top of the page:
BoldMinded (Brian)
Comment has been marked private.
Karen Bosch
That did it! Thank you!
BoldMinded (Brian)
Excellent! This will be included in the next release.