How to set UK only products in BigCommerce for UK based store? - content-management-system

I am currently working on a UK based BigCommerce store and would like the option of setting products to only be available for sale in the UK, is this possible out of the box?
If not, has anyone managed to successfully do this through Theme Customisation?
I am currently using the Cornerstone Light theme, ideally I would like to include a 'UK Only' checkbox on the 'Add Product' page.
Any help on this would be greatly appreciated.
Thanks

Controlling product visibility by country isn't a feature that's available out of the box, but this is something you can customize.
We're in the process of deploying a new {{settings.country_code}} property to the Stencil page context that would help you build out that kind of conditional logic. The country_code property outputs the country code of the shopper, according to the BigCommerce GeoIP service. So you could do:
{{#if settings.country_code '===' 'GB'}}
//do something - show the product, etc.
{{/if}}
This change has already rolled out to some stores, and should be available on all stores within the next few days, so keep an eye on our changelog for that announcement.

Related

Is there a way to display the Product Title before the Brand Name in Facebook Page Shop?

I exported all the tags required by Facebook from my third-party online store (Lightspeed) and the data stream works as expected in terms of automatic updates, but products on my facebook page shop (Shop tab) are displayed with the brand name first — L'Oratoire Saint-Joseph — followed by the product title.
See it live : https://www.facebook.com/osaintjoseph/
The unfortunate result is that the text under many products is exactly the same. Is there a way to display the Product Title before the Brand Name?
Lightspeed support told me I had to take it up with Facebook. I am awaiting their reply. See my questions in the fb developer forum here : https://developers.facebook.com/settings/developer/community/
There are 3 ways to add products to Facebook Shop:
Manually
Data feed (e.g. CSV import)
Third party plugins (which you’re using).
Manually – the user is only able to enter 4 properties; title, description, image & variant. See facebook.com/business/help/293945421560847. There is no concept of product brand.
Data feed – this allows for additional properties, such as brand name. In the table, see example files and select product (csv, tsv or xml) facebook.com/business/help/120325381656392?id=725943027795860. However it looks like all Facebook does is concatenate string, that's the product title becomes "{brandName} – {productName}". It look like brand name is not used anywhere else. Nor is there an option to change the way it's displayed. If you edit the product, you should be able to see this in the Product Title.
Shop tab (third party plugin) – (May be it's me, but I found their documentation hard to follow) – They send an XML feed to Facebook support.shoptab.net/hc/en-us/articles/200583466-XML-Feed-for-Facebook-Storefront-with-ShopTab. They do not appear to have a concept of brand. Try and examine the data. I would expect the brand name to appear in the product title. Alternatively they allow for CSV, which also doesn't contain brand name support.shoptab.net/hc/en-us/articles/200583906-CCNow-Integration-with-ShopTab-s-Facebook-Store-App
Summary
If possible, examine the data that is sent from Shop tab to Facebook.
Try and find out if you’re able to exclude / alter the string concatenation of brand name from product title in Shop tab. If not raise a support ticket with them.
Alternatively see if you can manually edit the product title in Facebook. It’s not a long-term fix, but helps understand how the system are integrated.

Remove Google form options once they have been selected

I am trying to make a simple form in Google Forms, that is used to book an appointment. User gets prompted with a list of available dates. How would I go for setting it up so that once a user (or certain amount of users) chooses a desired date, that date is no longer available?
Not sure if this question is still actual, but just in case for someone else trying to find a solution - there is an add-on for Google Forms, called "Choice Eliminator 2"

How to redirect a associated product to its configurable product

I am using Magento 1.9.2.1 and I am using the native swatches option. I am trying to only show the associated products on the catalog page and not the configurable product. But I am hoping that by clicking on any of the associated products, it would take the customer to the configurable product.
So lets say that I am selling a cap that has a red and brown option. I want the catalog to show the red simple product and the brown simple product. But when the customer clicks on either of the simple products, it will take them to the configurable product and they can select a color there instead.
Is there a easy way to do this?
I just found an extension that works
https://github.com/Mestrona/Mestrona_ForwardToConfigurable
I'm using JRD Redirect Simple to Parent for exactly this. I tried Mestrona as well, but it sets the URL to that of the simple product, which is a problem for bookmarking and the like when the user then changes up the configuration. JRD sets the URL to that of the parent and my plan is to then add a query string so that if the URL is bookmarked, I can route it to the same configured product.

is it possible to customize bugzilla fields ( text fields, text area etc)?

I have one product and several components of this product. Each component have several reported bugs.
Every bug has been assigned to a specific user.
I want to customize some text fields/areas for that user, so that he/she can not edit that specific field.
I also want to customize some text fields/areas for for Bug Creator (who files the new bug) so that he/she can not edit his/her posted bug.
Is it possible ?
Can we customize these fields via making changes in code ? or by installing some plugins ? or any other way ?
Permission/restrictions on groups are also not working. For example I created 2 groups A and B. Group A have full permissions (Create and Edit bug) but group B don't have any permission but only READONLY. But there is no difference between the user's rights those either belongs to group A or B (both can create and edit bugs). How i can limits the users belongs to group B ?
Only Developer should able the create/edit the fields but Client should not able to edit the bug.
The following discussion was very helpful for me. As i have ProductA, ProductB and groups Client, Developer.
http://groups.google.com/group/netscape.public.mozilla.webtools/browse_thread/thread/98efcae88fe84d6d/51c8deb672402e09?lnk=gst&q=permissions+for+all+users#51c8deb672402e09
Answer:
Product A:
ReadCreateA: Entry/Mandatory/Mandatory/-- EditA: --/NA/NA/Canedit Similar for Product B.
For this, you need to give editbugs privileges to developers. If you want to restrict editbugs privileges in other products, you need to set up a group they are not a member of as xx/xx/xx/Canedit for the other products. In your particular setup, this is already covered by the EditA and EditB groups.
(Works fine ) When I use the above guide , it works perfectly except posting comments. I am getting following error while posting comment --> "You are not permitted to edit bugs in product Product A"
but I want users of "Group UsersA" should not edit the bug (that is fine) but must be able to post the comment.
How can I manage this?
Any help would be appreciated!
Thanks.
You will need to modify code to accomplish this. See http://www.bugzilla.org/docs/4.2/en/html/cust-change-permissions.html for details.
Here is very nice discussion and I think my 75% problem has been solved.
Link
but in this case user are not able to post the comments, now I need to find the ways that user should not able to edit the bug fields but user could post comments anyway.

Wizard based feature install in sharepoint 2007?

I have a feature that gets installed using a WSP package, when the feature is activated, I would like the following to happen:
The feature will contain a list definition.
When the feature gets activated by an end user (the user physically clicks the feature activation button in site features admin) - I would like a modal dialog to appear then ask the user to provide some additional details.
3.1 The additional details will be supplying a certain number of names. For example Mary, John, Peter. Form logistics I can handle.
Once the form is complete that information needs to somehow get back to the feature reciever, so that I can then take the base list definition, and use it as a template to create list instances for all the names supplied - so if user had supplied Mary and Peter, then 2 list instances will be created when this feature is activated.
Is any of this possible with MOSS 2007? Thank you
There's no way to "hijack" the feature activation process in sharepoint. The (crude) solution would be to create a feature that deploys an application page (aka layouts page) and the list template/definition. On the page there should be a bunch of textboxes and a submit button.
The feature should have a receiver attached to it that after activation redirects the user to your page using HttpContext.Current. After entering all relevant data in the page ( Mary, John, Peter, etc.) just create the lists based on the list template deployed earlier from code using something like:
SPListTemplate listTemplate = web.ListTemplates["YOURLISTTEMPLATENAME"];
web.Lists.Add(listName, description, listTemplate);
There is 1 caveat though, IMHO a dealbreaker even. this won't work when the feature is activated using stsadm, seeing as there is no HttpContext!!!